From 9e7f8b85dd12de07986f44ac3d874bd035d86ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 3 Apr 2020 22:43:21 +0200 Subject: Add config for auto logout after browser inactivity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- config/config.sample.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') 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 @@ -251,6 +251,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 -- cgit v1.2.3