Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Commit

Permalink
updated theme to hide sign up label if no service providers are set
Browse files Browse the repository at this point in the history
  • Loading branch information
DevJS committed Jan 22, 2019
1 parent b6976e1 commit 19cc757
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions themes/genny_base/login/register.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,24 @@
</div>

<div class="social-login">

<div class="social-login-title">OR SIGN UP WITH</div>


<#if realm.password && social.providers??>
<div id="kc-social-providers">
<ul>
<#list social.providers as p>
<li>
<a href="${p.loginUrl}" class=" ${p.providerId}">
<i class="fa fa-${p.providerId}" aria-hidden="true"></i>
<span>${p.providerId}</span>
</a>
</li>
</#list>
</ul>
<div class="social-login-title">OR SIGN UP WITH</div>
<div id="kc-social-providers">
<ul>
<#list social.providers as p>
<li>
<a href="${p.loginUrl}" class=" ${p.providerId}">
<i class="fa fa-${p.providerId}" aria-hidden="true"></i>
<span>${p.providerId}</span>
</a>
</li>
</#list>
</ul>
</div>
</div>
</#if>

</div>
</#if>
</div>
</form>
</#if>
Expand Down

0 comments on commit 19cc757

Please sign in to comment.