mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00
fix for bug 343804
This commit is contained in:
parent
b4c4775e0d
commit
23dac0b761
@ -40,6 +40,9 @@ if (array_key_exists('password', $_POST)
|
||||
|
||||
if ($bad_input === false) {
|
||||
$user->setPassword($_POST['password']);
|
||||
if ($user->UserMode == 'D' && !empty($user->ConfirmationCode)) {
|
||||
$user->confirm($user->ConfirmationCode);
|
||||
}
|
||||
$success = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user