diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-01 00:05:06 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-01 00:05:06 +0200 |
commit | 60173be25ec27aaf6763ab57cd0a7f580c5c98e5 (patch) | |
tree | 087a5f5372ecb65590beaa08d1b7e3e5d9c9db76 /config/config.sample.php | |
parent | 87ef9305874909e19c43309f482f6fb05925ef60 (diff) | |
download | nextcloud-server-60173be25ec27aaf6763ab57cd0a7f580c5c98e5.tar.gz nextcloud-server-60173be25ec27aaf6763ab57cd0a7f580c5c98e5.zip |
Squashed commit of the following:
commit 557df5cc5e62fab80125d1ea86f8ed56ad3b10cc
Author: Thomas Mueller <thomas.mueller@tmit.eu>
Date: Fri Jun 28 15:17:54 2013 +0200
session_life_time -> session_lifetime
default session_lifetime is 24hrs
recreation of session is triggered at 50% of the session life time
Conflicts:
lib/base.php
commit fcd2e91459ef2ff41d9ca3d07e325c358ded091a
Author: Thomas Mueller <thomas.mueller@tmit.eu>
Date: Wed Jun 26 09:19:19 2013 +0200
session life time is now configurable and set to the same value
Conflicts:
lib/base.php
Diffstat (limited to 'config/config.sample.php')
-rw-r--r-- | config/config.sample.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 1272386715b..aa81cb781a2 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -135,6 +135,9 @@ $CONFIG = array( /* Lifetime of the remember login cookie, default is 15 days */ "remember_login_cookie_lifetime" => 60*60*24*15, +/* Life time of a session after inactivity */ +"session_lifetime" => 60 * 60 * 24, + /* Custom CSP policy, changing this will overwrite the standard policy */ "custom_csp_policy" => "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *", |