зеркало из https://github.com/mozilla/gecko-dev.git
Change some form field names to silence password manager.
This commit is contained in:
Родитель
f34f7ec15b
Коммит
b5a0dfef68
|
@ -70,11 +70,11 @@ if ($c->param('search_string')) {
|
|||
invalidInputError("Invalid user id: " . $c->param('user_id'));
|
||||
}
|
||||
$user->bugzilla_uid($c->param('bugzilla_uid'));
|
||||
$user->email($c->param('email'));
|
||||
$user->email($c->param('edit_email'));
|
||||
|
||||
if ($c->param('password') ne 'unchanged') {
|
||||
if ($c->param('edit_password') ne 'unchanged') {
|
||||
# they changed the password, so let the auth folks know:
|
||||
Litmus::Auth::changePassword($user, $c->param('password'));
|
||||
Litmus::Auth::changePassword($user, $c->param('edit_password'));
|
||||
}
|
||||
$user->realname($c->param('realname'));
|
||||
$user->irc_nickname($c->param('irc_nickname'));
|
||||
|
|
|
@ -49,11 +49,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><b>email:</b></td>
|
||||
<td><input name="email" size="30" value="[% user.email | html %]" /></td>
|
||||
<td><input name="edit_email" size="30" value="[% user.email | html %]" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>password:</b></td>
|
||||
<td><input name="password" type="password" size="30" value="unchanged" /></td>
|
||||
<td><input name="edit_password" type="password" size="30" value="unchanged" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>real name:</b></td>
|
||||
|
|
Загрузка…
Ссылка в новой задаче