keycloakify 11.13.6 → 11.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.13.6",
3
+ "version": "11.13.7",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -206,8 +206,14 @@ function decodeHtmlEntities(htmlStr){
206
206
  We cherry pick what we use in it in the exclusion section.
207
207
  -->
208
208
  <#if (
209
- xKeycloakify.pageId == "index.ftl" &&
210
- xKeycloakify.themeType == "account"
209
+ (
210
+ xKeycloakify.pageId == "index.ftl" &&
211
+ xKeycloakify.themeType == "account"
212
+ ) || (
213
+ <#-- For some reason it's also the case for error.ftl -->
214
+ xKeycloakify.pageId == "error.ftl" &&
215
+ xKeycloakify.themeType == "login"
216
+ )
211
217
  )>
212
218
  <#break>
213
219
  </#if>
@@ -284,6 +290,10 @@ function decodeHtmlEntities(htmlStr){
284
290
  areSamePath(path, []) &&
285
291
  ["login-idp-link-confirm.ftl", "login-idp-link-email.ftl" ]?seq_contains(xKeycloakify.pageId)
286
292
  ) || (
293
+ <#-- NOTE: This condition is almost certainly dead code since we exclude the realm prop
294
+ when it's an internal representation.
295
+ And when we bypass (account index.ftl, error.ftl) we cherry pick...
296
+ -->
287
297
  ["masterAdminClient", "delegateForUpdate", "defaultRole", "smtpConfig"]?seq_contains(key) &&
288
298
  areSamePath(path, ["realm"])
289
299
  ) || (