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:
martinlanghoff 2005-08-16 03:20:47 +00:00
parent 3e920f36ff
commit 68dc9aae15

View File

@ -71,7 +71,7 @@
}
// register success changing password
unset_user_preference('auth_forcepasswordchange');
unset_user_preference('auth_forcepasswordchange', $user);
set_moodle_cookie($USER->username);