UX: Remove forgot password button from login-preferences (#10998)

Showing this button is confusing for sites which are using external authentication. Clicking 'log in' already pops up the login modal, which includes a forgot password link when appropriate.
This commit is contained in:
David Taylor 2020-10-22 14:34:10 +01:00 committed by GitHub
parent 63931e5e49
commit 85f827ee1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

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

View File

@ -1691,7 +1691,6 @@ en:
sent_activation_email_again_generic: "We sent another activation email. It might take a few minutes for it to arrive; be sure to check your spam folder."
to_continue: "Please Log In"
preferences: "You need to be logged in to change your user preferences."
forgot: "I don't recall my account details"
not_approved: "Your account hasn't been approved yet. You will be notified by email when you are ready to log in."
google_oauth2:
name: "Google"