diff --git a/lib/setup.php b/lib/setup.php index 6c300f5ecc2..e711c2ed552 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -850,6 +850,8 @@ foreach ($pluginswithfunction as $plugins) { } \core\session\manager::start(); +// Prevent ignoresesskey hack from getting carried over to a next page. +unset($USER->ignoresesskey); if (!empty($CFG->proxylogunsafe) || !empty($CFG->proxyfixunsafe)) { if (!empty($CFG->proxyfixunsafe)) {