From 8c597ceae28ba1bbe1780d88397af7ab065c613d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Tue, 23 Feb 2016 23:49:18 +0100 Subject: [PATCH] Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r=dkl --- .../account/auth/login-small.html.tmpl | 49 ++++++++++--------- 1 file changed, 26 insertions(+), 23 deletions(-) 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 %] -- 2.47.3