aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users
diff options
context:
space:
mode:
authorghendricks%novell.com <>2007-05-15 21:28:16 +0000
committerghendricks%novell.com <>2007-05-15 21:28:16 +0000
commit3529e98d63f3e15e04d18fdb608aecdcb9825113 (patch)
tree53b465022896379cb6f93969c0ab005c4a6048f2 /template/en/default/admin/users
parentf65619b0235e24eb5df01fe82c90a45b2ae985e6 (diff)
downloadbugs-3529e98d63f3e15e04d18fdb608aecdcb9825113.tar
bugs-3529e98d63f3e15e04d18fdb608aecdcb9825113.tar.gz
bugs-3529e98d63f3e15e04d18fdb608aecdcb9825113.tar.bz2
bugs-3529e98d63f3e15e04d18fdb608aecdcb9825113.tar.xz
bugs-3529e98d63f3e15e04d18fdb608aecdcb9825113.zip
Bug 380416: template/en/default/admin/users/userdata.html.tmpl should honor can_change_password()
Patch by Vance Baarda <vrb@novell.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/admin/users')
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index e7afe66bb..befc87ed0 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -51,7 +51,14 @@
[% END %]
</td>
</tr>
+
+[%# 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 %]
<tr>
<th><label for="password">Password:</label></th>
<td>
@@ -63,6 +70,7 @@
[% END %]
</td>
</tr>
+ [% END %]
<tr>
<th><label for="disable_mail">[% terms.Bug %]mail Disabled:</label></th>
<td>