mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Fix for broken guest shortcut
This commit is contained in:
parent
bfff85cba1
commit
7d4beb9ed3
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user