Browse files

Added "realuser" to USER variable to identify imposters

  • Loading branch information...
1 parent 7ad5e3a commit bae30970953f60c9958830e02a2b140c19808ebe martin committed Aug 1, 2002
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/loginas.php
View
1 course/loginas.php
@@ -26,6 +26,7 @@
$USER = get_user_info_from_db("id", $user);
$USER->loggedin = true;
+ $USER->realuser = $teacher_name;
set_moodle_cookie($USER->username);

0 comments on commit bae3097

Please sign in to comment.