summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 7ec0904ec3d..e79b4541301 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -60,7 +60,7 @@ $array = array(
"firstDay" => json_encode($l->l('firstday', 'firstday')) ,
"oc_config" => json_encode(
array(
- 'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', 60 * 60 * 24),
+ 'session_lifetime' => \OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')),
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true)
)
),