From bae30970953f60c9958830e02a2b140c19808ebe Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 1 Aug 2002 07:04:31 +0000 Subject: [PATCH] Added "realuser" to USER variable to identify imposters --- course/loginas.php | 1 + 1 file changed, 1 insertion(+) diff --git a/course/loginas.php b/course/loginas.php index 957483a10f..52f161e482 100644 --- a/course/loginas.php +++ b/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); -- 2.39.5