From: Frédéric Buclin Date: Tue, 23 Feb 2016 22:50:26 +0000 (+0100) Subject: Bug 1250354: The "Forgot password" link should not be displayed if users are not... X-Git-Tag: release-5.0.3~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb909eae7218de25805d80a442c6c59e89760df9;p=thirdparty%2Fbugzilla.git Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r/a=dkl --- diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 65aa861a12..a1a0743724 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,28 @@ [x]
-
  • - | - Forgot Password -
    - - - - - - [x] -
    -
  • + +[% Hook.process('additional_methods') %] + +[% IF user.authorizer.can_change_password %] +
  • + | + Forgot Password +
    + + + + + + [x] +
    +
  • +[% END %]