MDL-65812 session: Increase default timeout and allow larger periods

This commit is contained in:
Brendan Heywood
2020-01-11 23:17:35 +11:00
parent 77d1c41502
commit 859ed92f9d
4 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -793,7 +793,7 @@ if (CLI_SCRIPT) {
// Start session and prepare global $SESSION, $USER.
if (empty($CFG->sessiontimeout)) {
$CFG->sessiontimeout = 7200;
$CFG->sessiontimeout = 8 * 60 * 60;
}
\core\session\manager::start();