Commit 9f9e3576 authored by moodler's avatar moodler
Browse files

This should fix the problems some poeple were having with the login block

parent 21873673
......@@ -30,6 +30,10 @@
}
}
if (get_moodle_cookie() == '') {
set_moodle_cookie('nobody'); // To help search for cookies on login page
}
if (!empty($USER->id)) {
add_to_log(SITEID, 'course', 'view', 'view.php?id='.SITEID, SITEID);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment