MDL-76680 core: disable $USER->ignoresesskey on next page
This commit is contained in:
@@ -827,6 +827,8 @@ if (empty($CFG->sessiontimeoutwarning)) {
|
||||
$CFG->sessiontimeoutwarning = 20 * 60;
|
||||
}
|
||||
\core\session\manager::start();
|
||||
// Prevent ignoresesskey hack from getting carried over to a next page.
|
||||
unset($USER->ignoresesskey);
|
||||
|
||||
// Set default content type and encoding, developers are still required to use
|
||||
// echo $OUTPUT->header() everywhere, anything that gets set later should override these headers.
|
||||
|
||||
Reference in New Issue
Block a user