Merge pull request #26007 from nextcloud/docs/config/session_lifetime

Add hint about possible limit when setting a session_lifetime
This commit is contained in:
Roeland Jago Douma 2021-03-08 19:30:05 +01:00 committed by GitHub
commit 0c33fc706c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,9 @@ $CONFIG = [
/** /**
* The lifetime of a session after inactivity. * The lifetime of a session after inactivity.
* *
* The maximum possible time is limited by the session.gc_maxlifetime php.ini setting
* which would overwrite this option if it is less than the value in the config.php
*
* Defaults to ``60*60*24`` seconds (24 hours) * Defaults to ``60*60*24`` seconds (24 hours)
*/ */
'session_lifetime' => 60 * 60 * 24, 'session_lifetime' => 60 * 60 * 24,