mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merged from MOODLE_15_STABLE - Unset the changepassword flag for the _right_ user, even if we are masquerading an account
This commit is contained in:
parent
3e920f36ff
commit
68dc9aae15
@ -71,7 +71,7 @@
|
||||
}
|
||||
|
||||
// register success changing password
|
||||
unset_user_preference('auth_forcepasswordchange');
|
||||
unset_user_preference('auth_forcepasswordchange', $user);
|
||||
|
||||
set_moodle_cookie($USER->username);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user