WHoops bad typo ... made everyone a guest!
authormoodler <moodler>
Wed, 13 Nov 2002 06:26:36 +0000 (06:26 +0000)
committermoodler <moodler>
Wed, 13 Nov 2002 06:26:36 +0000 (06:26 +0000)
login/index.php

index 7f3b688..1b72708 100644 (file)
@@ -38,7 +38,7 @@
             $USER = $user;
             $USER->loggedin = true;
             $USER->site = $CFG->wwwroot;   // for added security
-            if ($USER->username = "guest") {
+            if ($USER->username == "guest") {
                 $USER->lang = $CFG->lang;  // Guest language always same as site
             }
             save_session("USER");