Compare commits

..

3 Commits

3 changed files with 15 additions and 4 deletions

View File

@ -125,7 +125,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
# Changelog highlights # Changelog highlights
## 5.0 (candidate) ## 8.0 (candidate)
- Much smaller .jar size. 70.2 MB -> 7.8 MB. - Much smaller .jar size. 70.2 MB -> 7.8 MB.
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. 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.
@ -189,7 +189,7 @@ by
are used to display specific error on some field of the form. are used to display specific error on some field of the form.
[See video](https://youtu.be/D6tZcemReTI) [See video](https://youtu.be/D6tZcemReTI)
## 7.14 ## 7.14
- Deprecate the `extraPages` build option. Keycloakify is now able to analyze your code to detect extra pages. - Deprecate the `extraPages` build option. Keycloakify is now able to analyze your code to detect extra pages.

View File

@ -1,6 +1,6 @@
{ {
"name": "keycloakify", "name": "keycloakify",
"version": "8.0.0-rc.1", "version": "8.0.0-rc.2",
"description": "Create Keycloak themes using React", "description": "Create Keycloak themes using React",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -484,6 +484,17 @@
<#continue> <#continue>
</#if> </#if>
<#if pageId == "register.ftl" && key == "attemptedUsername" && are_same_path(path, ["auth"])>
<#attempt>
<#-- https://github.com/keycloak/keycloak/blob/3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a/themes/src/main/resources/theme/base/login/template.ftl#L63 -->
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
<#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())>
<#continue>
</#if>
<#recover>
</#attempt>
</#if>
<#attempt> <#attempt>
<#if !object[key]??> <#if !object[key]??>
<#continue> <#continue>