From 5a378dd605ff82e42c1af57abd94954329187dfe 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 c34eb034..03e6044e 100644 --- a/inc/config.php +++ b/inc/config.php @@ -186,7 +186,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!@#$%^&*()';