mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merged from STABLE
This commit is contained in:
parent
53d70ab040
commit
9bf9910e17
@ -71,7 +71,8 @@
|
||||
}
|
||||
|
||||
// register success changing password
|
||||
unset_user_preference('auth_forcepasswordchange', $user);
|
||||
// echo "<pre>"; print_r( $user ); print_r( $USER ); die;
|
||||
unset_user_preference('auth_forcepasswordchange', $user->id);
|
||||
|
||||
set_moodle_cookie($USER->username);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user