Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-03-08 21:30:05 +0300
committerGitHub <noreply@github.com>2021-03-08 21:30:05 +0300
commit0c33fc706c301b4ccad7ea4a1fe7d8ec1018af82 (patch)
tree23bfce361131bfdd06c2fe06edb0db0ae0f0860b /config
parentbb590347d25bd1ebfa53888ae4d967cccc9726c1 (diff)
parent296332efa38d25e18ffe066843d707bbc835068c (diff)
Merge pull request #26007 from nextcloud/docs/config/session_lifetime
Add hint about possible limit when setting a session_lifetime
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 5c5ac3399b8..29fe3629806 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -249,6 +249,9 @@ $CONFIG = [
/**
* 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)
*/
'session_lifetime' => 60 * 60 * 24,