From: Dirk Steinmetz Date: Wed, 25 Sep 2013 17:51:01 +0000 (+0200) Subject: Bug 455301: Don't show password box on userprefs.cgi if your auth method didn't use... X-Git-Tag: bugzilla-4.4.1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea028e04e489ac6107af9c294d2759c66e64201;p=thirdparty%2Fbugzilla.git Bug 455301: Don't show password box on userprefs.cgi if your auth method didn't use DB passwords r=LpSolit a=justdave --- diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl index f1641666fa..59e4ab76a7 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 %]
- Please enter your existing password to confirm account changes. -
Password: - - -

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

New password: