Validator ignores sesskeys

This commit is contained in:
moodler 2004-12-22 02:56:16 +00:00
parent 089e9eae78
commit b60f0ee556

View File

@ -359,6 +359,7 @@ global $THEME;
if ($USER = get_user_info_from_db("username", "w3cvalidator")) {
$USER->loggedin = true;
$USER->site = $CFG->wwwroot;
$USER->ignoresesskey = true;
} else {
$USER = guest_user();
}