From: Dirk Steinmetz Date: Wed, 25 Sep 2013 17:47:55 +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.5.1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c09a1646d839d5aa61c0de844a0ccae89c3cf4;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 a00b5df97c..b6c1ce1f89 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: