diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-04-03 22:43:21 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-04-23 19:12:54 +0200 |
commit | 9e7f8b85dd12de07986f44ac3d874bd035d86ef6 (patch) | |
tree | 9fe086b9bf03b4a50007e94d9e72db38f16a4a35 /config/config.sample.php | |
parent | cbd20867b59779d7aff5a024e4287206e3c028e0 (diff) | |
download | nextcloud-server-9e7f8b85dd12de07986f44ac3d874bd035d86ef6.tar.gz nextcloud-server-9e7f8b85dd12de07986f44ac3d874bd035d86ef6.zip |
Add config for auto logout after browser inactivity
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r-- | config/config.sample.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 00e3a6779fd..268838a1768 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -252,6 +252,15 @@ $CONFIG = [ 'session_keepalive' => true, /** + * Enable or disable the automatic logout after session_lifetime, even if session + * keepalive is enabled. This will make sure that an inactive browser will be logged out + * even if requests to the server might extend the session lifetime. + * + * Defaults to ``false`` + */ +'auto_logout' => false, + +/** * Enforce token authentication for clients, which blocks requests using the user * password for enhanced security. Users need to generate tokens in personal settings * which can be used as passwords on their clients. |