diff --git a/README.md b/README.md index 6bbcda7..8fe3afd 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ To start a Dev Keycloak instance that can show the pub.solar theme, you need to -e KEYCLOAK_ADMIN_PASSWORD=admin \ -v $(pwd):/opt/keycloak/themes/pub.solar \ -v $(pwd)/.dev-import:/opt/keycloak/data/import \ - quay.io/keycloak/keycloak:23.0.6 \ - start-dev --import-realm --features="declarative-user-profile" + quay.io/keycloak/keycloak:25.0.6 \ + start-dev --import-realm ``` 3. After this, you can start and stop the container using `docker start keycloak-theme-dev` and `docker-stop keycloak-theme-dev`. diff --git a/login/code.ftl b/login/code.ftl index 6830fc4..bb0621d 100644 --- a/login/code.ftl +++ b/login/code.ftl @@ -4,7 +4,7 @@ <#if code.success> ${msg("codeSuccessTitle")} <#else> - ${msg("codeErrorTitle", code.error)} + ${kcSanitize(msg("codeErrorTitle", code.error))} #if> <#elseif section = "form">
${msg("copyCodeInstruction")}
<#else> -${code.error}
+${kcSanitize(code.error)}
#if>${message.summary}<#if requiredActions??><#list requiredActions>: <#items as reqActionItem>${msg("requiredAction.${reqActionItem}")}<#sep>, #items>#list><#else>#if>
+${message.summary}<#if requiredActions??><#list requiredActions>: <#items as reqActionItem>${kcSanitize(msg("requiredAction.${reqActionItem}"))?no_esc}<#sep>, #items>#list><#else>#if>
<#if skipLink??> <#else> <#if pageRedirectUri?has_content> diff --git a/login/login-idp-link-confirm-override.ftl b/login/login-idp-link-confirm-override.ftl new file mode 100644 index 0000000..a5b3630 --- /dev/null +++ b/login/login-idp-link-confirm-override.ftl @@ -0,0 +1,12 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("confirmOverrideIdpTitle")} + <#elseif section = "form"> + + #if> +@layout.registrationLayout> diff --git a/login/login-otp.ftl b/login/login-otp.ftl index b297ee0..a43778d 100644 --- a/login/login-otp.ftl +++ b/login/login-otp.ftl @@ -1,58 +1,58 @@ <#import "template.ftl" as layout> <@layout.registrationLayout displayMessage=!messagesPerField.existsError('totp'); section> - <#if section="header"> - ${msg("doLogIn")} - <#elseif section="form"> -${msg("otp-reset-description")}
+ + <#list configuredOtpCredentials.userOtpCredentials as otpCredential> + checked="checked"#if>> + + #list> + +