Merge branch 'MDL-76680/master' of https://github.com/skodak/moodle

This commit is contained in:
Jun Pataleta 2023-03-14 11:57:31 +08:00
commit 32fc5c14a0

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)) {