From 58c09a1646d839d5aa61c0de844a0ccae89c3cf4 Mon Sep 17 00:00:00 2001 From: Dirk Steinmetz Date: Wed, 25 Sep 2013 19:47:55 +0200 Subject: Bug 455301: Don't show password box on userprefs.cgi if your auth method didn't use DB passwords r=LpSolit a=justdave --- .../en/default/account/prefs/account.html.tmpl | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl index a00b5df97..b6c1ce1f8 100644 --- a/template/en/default/account/prefs/account.html.tmpl +++ b/template/en/default/account/prefs/account.html.tmpl @@ -13,21 +13,25 @@ #%] - - - - - - - - - - + [% IF user.authorizer.can_change_password + || (user.authorizer.can_change_email && Param('allowemailchange')) %] + + + + + + + + + + + [% END %] + [% IF user.authorizer.can_change_password %] -- cgit v1.2.3-24-g4f1b
- Please enter your existing password to confirm account changes. -
Password: - - -

+ Please enter your existing password to confirm account changes. +
Password: + + +

New password: