From bb909eae7218de25805d80a442c6c59e89760df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Tue, 23 Feb 2016 23:50:26 +0100 Subject: Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r/a=dkl --- .../en/default/account/auth/login-small.html.tmpl | 48 +++++++++++----------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'template/en/default/account') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 65aa861a1..a1a074372 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 %] -- cgit v1.2.1