diff --git a/forms/common-themes/src/main/resources/theme/login/base/login.ftl b/forms/common-themes/src/main/resources/theme/login/base/login.ftl index f65c615f04..09dc8b70f2 100755 --- a/forms/common-themes/src/main/resources/theme/login/base/login.ftl +++ b/forms/common-themes/src/main/resources/theme/login/base/login.ftl @@ -1,6 +1,6 @@ <#ftl strip_whitespace=true strip_text=true> <#import "template.ftl" as layout> -<@layout.registrationLayout bodyClass=""; section> +<@layout.registrationLayout bodyClass="" displaySocial=social.displaySocialProviders; section> <#if section = "title">${rb.loginTitle} ${realm.name} <#elseif section = "header"> diff --git a/forms/common-themes/src/main/resources/theme/login/base/template.ftl b/forms/common-themes/src/main/resources/theme/login/base/template.ftl index 98f30af07a..55d577280a 100644 --- a/forms/common-themes/src/main/resources/theme/login/base/template.ftl +++ b/forms/common-themes/src/main/resources/theme/login/base/template.ftl @@ -1,4 +1,4 @@ -<#macro registrationLayout bodyClass isSeparator=false forceSeparator=false> +<#macro registrationLayout bodyClass isSeparator=false forceSeparator=false displaySocial=false> @@ -28,7 +28,7 @@ <#else> <#assign drawSeparator = isSeparator> -
+
<#if message?has_content> - <#if social.displaySocialProviders> + <#if displaySocial>