Make sure site security is added when logging in via change password

This commit is contained in:
martin 2002-09-24 01:28:19 +00:00
parent 83e9a09e34
commit 3d98b29d51

View file

@ -29,6 +29,7 @@
$USER = $user;
$USER->loggedin = true;
$USER->site = $CFG->wwwroot; // for added security
save_session("USER");
set_moodle_cookie($USER->username);