From: ghendricks%novell.com <> Date: Tue, 15 May 2007 21:28:16 +0000 (+0000) Subject: Bug 380416: template/en/default/admin/users/userdata.html.tmpl should honor can_chang... X-Git-Tag: bugzilla-3.1.2~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3529e98d63f3e15e04d18fdb608aecdcb9825113;p=thirdparty%2Fbugzilla.git Bug 380416: template/en/default/admin/users/userdata.html.tmpl should honor can_change_password() Patch by Vance Baarda r=mkanat, a=mkanat --- diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index e7afe66bbe..befc87ed0b 100644 --- a/template/en/default/admin/users/userdata.html.tmpl +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -51,7 +51,14 @@ [% END %] + +[%# XXX This condition (can_change_password) will cause a problem + # if we ever have a login system that can create accounts through + # createaccount.cgi but can't change passwords. + #%] + [% IF editusers %] + [% IF user.authorizer.can_change_password %] @@ -63,6 +70,7 @@ [% END %] + [% END %]