MDL-76680 core: disable $USER->ignoresesskey on next page

This commit is contained in:
Petr Skoda
2023-03-11 10:37:12 +01:00
parent 5e1df25566
commit 80d32fc93a
+2
View File
@@ -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)) {