Skip to content

Commit

Permalink
Merge branch 'MDL-76680/39' of https://github.com/skodak/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_39_STABLE
  • Loading branch information
junpataleta committed Mar 14, 2023
2 parents c7e549c + ef1ecd2 commit 01576f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/setup.php
Expand Up @@ -796,6 +796,8 @@
$CFG->sessiontimeout = 8 * 60 * 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.
Expand Down

0 comments on commit 01576f2

Please sign in to comment.