Patch for bug 237646: fix for regression in userprefs.cgi that disallowed users to change their password via this page; r=kiko; a=myk.

This commit is contained in:
jocuri%softhome.net 2004-03-16 21:23:00 +00:00
Родитель 7f6be30704
Коммит 40bf3cffa8
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -21,7 +21,6 @@
[%# INTERFACE: [%# INTERFACE:
# realname: string. The user's real name, if any. # realname: string. The user's real name, if any.
# login: string. The user's Bugzilla login email address.
# login_change_date: string. The date the email change will be complete. (optional) # login_change_date: string. The date the email change will be complete. (optional)
# new_login_name: string. The user's new Bugzilla login whilst not confirmed. (optional) # new_login_name: string. The user's new Bugzilla login whilst not confirmed. (optional)
#%] #%]
@ -36,7 +35,7 @@
<th align="right">Password:</th> <th align="right">Password:</th>
<td> <td>
<input type="hidden" name="Bugzilla_login" <input type="hidden" name="Bugzilla_login"
value="[% login FILTER html %]"> value="[% user.login FILTER html %]">
<input type="password" name="Bugzilla_password"> <input type="password" name="Bugzilla_password">
</td> </td>
</tr> </tr>
@ -79,7 +78,7 @@
[% ELSE %] [% ELSE %]
<tr> <tr>
<th align="right">Confirmed email address:</th> <th align="right">Confirmed email address:</th>
<td>[% login FILTER html %] <td>[% user.login FILTER html %]
</tr> </tr>
<tr> <tr>
<th align="right">Completion date:</th> <th align="right">Completion date:</th>