keycloakify 8.0.0-rc.1 → 8.0.0-rc.2
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/README.md
CHANGED
@@ -125,7 +125,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
125
125
|
|
126
126
|
# Changelog highlights
|
127
127
|
|
128
|
-
##
|
128
|
+
## 8.0 (candidate)
|
129
129
|
|
130
130
|
- Much smaller .jar size. 70.2 MB -> 7.8 MB.
|
131
131
|
Keycloakify now detects which of the static resources from the default theme are actually used by your theme and only include those in the .jar.
|
@@ -186,10 +186,10 @@ by
|
|
186
186
|
- The i18n messages you defines in your theme are now also maid available to Keycloak.
|
187
187
|
In practice this mean that you can now customize the `kcContext.message.summary` that
|
188
188
|
display a general alert and the values returned by `kcContext.messagesPerField.get()` that
|
189
|
-
are used to display specific error on some field of the form.
|
189
|
+
are used to display specific error on some field of the form.
|
190
190
|
[See video](https://youtu.be/D6tZcemReTI)
|
191
191
|
|
192
|
-
##
|
192
|
+
## 7.14
|
193
193
|
|
194
194
|
- Deprecate the `extraPages` build option. Keycloakify is now able to analyze your code to detect extra pages.
|
195
195
|
|
@@ -483,6 +483,17 @@
|
|
483
483
|
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
484
484
|
<#continue>
|
485
485
|
</#if>
|
486
|
+
|
487
|
+
<#if pageId == "register.ftl" && key == "attemptedUsername" && are_same_path(path, ["auth"])>
|
488
|
+
<#attempt>
|
489
|
+
<#-- https://github.com/keycloak/keycloak/blob/3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a/themes/src/main/resources/theme/base/login/template.ftl#L63 -->
|
490
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
491
|
+
<#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())>
|
492
|
+
<#continue>
|
493
|
+
</#if>
|
494
|
+
<#recover>
|
495
|
+
</#attempt>
|
496
|
+
</#if>
|
486
497
|
|
487
498
|
<#attempt>
|
488
499
|
<#if !object[key]??>
|
package/package.json
CHANGED
@@ -483,6 +483,17 @@
|
|
483
483
|
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
484
484
|
<#continue>
|
485
485
|
</#if>
|
486
|
+
|
487
|
+
<#if pageId == "register.ftl" && key == "attemptedUsername" && are_same_path(path, ["auth"])>
|
488
|
+
<#attempt>
|
489
|
+
<#-- https://github.com/keycloak/keycloak/blob/3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a/themes/src/main/resources/theme/base/login/template.ftl#L63 -->
|
490
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
491
|
+
<#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())>
|
492
|
+
<#continue>
|
493
|
+
</#if>
|
494
|
+
<#recover>
|
495
|
+
</#attempt>
|
496
|
+
</#if>
|
486
497
|
|
487
498
|
<#attempt>
|
488
499
|
<#if !object[key]??>
|