mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
Merge branch 'm25_MDL-37515_Notice_when_submitting_change_password_form' of https://github.com/scara/moodle
This commit is contained in:
commit
fd0c485584
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ if ($mform->is_cancelled()) {
|
|||
}
|
||||
|
||||
// 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue