mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Validator ignores sesskeys
This commit is contained in:
parent
089e9eae78
commit
b60f0ee556
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user