Fix for broken guest shortcut

This commit is contained in:
fiedorow
2005-06-24 15:28:29 +00:00
parent 6482f073ac
commit e2d7af8412
+1 -1
View File
@@ -85,7 +85,7 @@
/// Check if the user has actually submitted login data to us
if ($frm and (get_moodle_cookie() == '')) { // Login without cookie
if ($frm and (get_moodle_cookie() == '') and ($frm->username!='guest') and !$user) { // Login without cookie
$errormsg = get_string("cookiesnotenabled");