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
This commit is contained in:
ghendricks%novell.com 2007-05-15 16:28:16 +00:00
Родитель 27401e4c60
Коммит 1e3bdb2df2
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -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>