MDL-65812 session: Increase default timeout and allow larger periods
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user