Commit 41b3c0cf authored by Byron Jones's avatar Byron Jones

Bug 1009017: users are unable to log in if their password needs to be

re-encrypted and their password does not match the current complexity rule r=dkl, a=glob
parent 1ac08617
......@@ -82,7 +82,9 @@ sub check_credentials {
# If needed, update the user's password.
if ($update_password) {
$user->set_password($password);
# We can't call $user->set_password because we don't want the password
# complexity rules to apply here.
$user->{cryptpassword} = bz_crypt($password);
$user->update();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment