Skip to content

Commit

Permalink
MDL-37515 PHP Notice when submitting change password form
Browse files Browse the repository at this point in the history
  • Loading branch information
scara committed Feb 22, 2013
1 parent f29e62c commit 8cca810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/change_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
}

// Reset login lockout - we want to prevent any accidental confusion here.
login_unlock_account($user);
login_unlock_account($USER);

// register success changing password
unset_user_preference('auth_forcepasswordchange', $USER);
Expand Down

0 comments on commit 8cca810

Please sign in to comment.