FIX: remove forgot-password link for SSO enabled instances

This commit is contained in:
Arpit Jalan 2015-11-21 17:49:58 +05:30
parent 3fa8329068
commit d75ea1a0ea
1 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,7 @@
<p style='margin-top: 1em'>{{i18n "login.preferences"}}</p> <p style='margin-top: 1em'>{{i18n "login.preferences"}}</p>
{{d-button class="btn-primary" action="showLogin" label="log_in"}} {{d-button class="btn-primary" action="showLogin" label="log_in"}}
{{d-button action="showForgotPassword" label="login.forgot"}} {{#unless siteSettings.enable_sso}}
{{d-button action="showForgotPassword" label="login.forgot"}}
{{/unless}}
</div> </div>