From 8c597ceae28ba1bbe1780d88397af7ab065c613d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 23 Feb 2016 23:49:18 +0100 Subject: Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r=dkl --- .../en/default/account/auth/login-small.html.tmpl | 49 ++++++++++++---------- 1 file changed, 26 insertions(+), 23 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 1b7c6b02e..39b1f8538 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 %] -- cgit v1.2.3-24-g4f1b