diff --git a/theme/keywind/login/login-username.ftl b/theme/keywind/login/login-username.ftl index b8064b2da..9c071ed8e 100644 --- a/theme/keywind/login/login-username.ftl +++ b/theme/keywind/login/login-username.ftl @@ -64,7 +64,7 @@ <#elseif section="socialProviders"> - <#if realm.password && social.providers??> + <#if realm.password && social.providers?? && social.providers?has_content> <@identityProvider.kw providers=social.providers /> diff --git a/theme/keywind/login/login.ftl b/theme/keywind/login/login.ftl index 331da069f..5de201496 100644 --- a/theme/keywind/login/login.ftl +++ b/theme/keywind/login/login.ftl @@ -80,7 +80,7 @@ <#elseif section="socialProviders"> - <#if realm.password && social.providers??> + <#if realm.password && social.providers?? && social.providers?has_content> <@identityProvider.kw providers=social.providers />