diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl deleted file mode 100644 index b5f017a..0000000 --- a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl +++ /dev/null @@ -1,132 +0,0 @@ -<#import "template.ftl" as layout> -<@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','email','firstName','lastName'); section> - <#if section = "header"> - ${msg("loginProfileTitle")} - <#elseif section = "form"> -
- - - - #if> -@layout.registrationLayout> diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl deleted file mode 100644 index d31f050..0000000 --- a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl +++ /dev/null @@ -1,191 +0,0 @@ -<#import "template.ftl" as layout> -<#import "register-commons.ftl" as registerCommons> -<@layout.registrationLayout displayMessage=!messagesPerField.existsError('firstName','lastName','email','username','password','password-confirm'); section> - <#if section = "header"> - ${msg("registerTitle")} - <#elseif section = "form"> - - - - - - #if> -@layout.registrationLayout> diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl index 4f9b22f..8c66dc5 100644 --- a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl @@ -30,6 +30,14 @@ #list> #if> + + <#if scripts??> <#list scripts as script> @@ -42,7 +50,7 @@ checkCookiesAndSetTimer( "${authenticationSession.authSessionId}", "${authenticationSession.tabId}", - "${url.ssoLoginInOtherTabsUrl}" + "${url.ssoLoginInOtherTabsUrl?no_esc}" ); #if> @@ -90,13 +98,15 @@ <#if realm.internationalizationEnabled && locale.supported?size gt 1>