Commit 36711843 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Check that account is valid before logging in via password reset"

parents 92864228 f538c847
......@@ -216,6 +216,8 @@ function forgotpasschange_submit(Pieform $form, $values) {
// Remove the password request(s) for the user
delete_records('usr_password_request', 'usr', $values['user']);
$USER->reanimate($user->id, $user->authinstance);
Supports Markdown
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