fix for bug 343804

This commit is contained in:
wclouser%mozilla.com 2006-07-24 17:48:56 +00:00
parent b4c4775e0d
commit 23dac0b761

View File

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