From: Frédéric Buclin Date: Tue, 23 Feb 2016 22:49:18 +0000 (+0100) Subject: Bug 1250354: The "Forgot password" link should not be displayed if users are not... X-Git-Tag: release-5.1.1~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c597ceae28ba1bbe1780d88397af7ab065c613d;p=thirdparty%2Fbugzilla.git Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r=dkl --- diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 1b7c6b02e3..39b1f8538b 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -27,8 +27,6 @@ Log In - [% Hook.process('additional_methods') %] -
@@ -56,24 +54,29 @@ [x]
-
  • - | - Forgot Password -
    - - - - - - [x] -
    -
  • + +[% Hook.process('additional_methods') %] + +[% IF user.authorizer.can_change_password %] +
  • + | + Forgot Password +
    + + + + + + [x] +
    +
  • +[% END %]