From 940ea3f4b583c681231d98406510f9d08224ef45 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 29 Apr 2024 16:46:51 +0200 Subject: [PATCH] config.php: reduce default login cookie expire timeout --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 10d7a1e3..a37a2d51 100644 --- a/inc/config.php +++ b/inc/config.php @@ -172,7 +172,7 @@ // How long should the cookies last (in seconds). Defines how long should moderators should remain logged // in (0 = browser session). - $config['cookies']['expire'] = 60 * 60 * 24 * 30 * 6; // ~6 months + $config['cookies']['expire'] = 60 * 60 * 24 * 7; // 1 week. // Make this something long and random for security. $config['cookies']['salt'] = 'abcdefghijklmnopqrstuvwxyz09123456789!@#$%^&*()';