Browse Source

config.php: reduce default login cookie expire timeout

config
Zankaria 1 month ago
parent
commit
940ea3f4b5
  1. 2
      inc/config.php

2
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!@#$%^&*()';

Loading…
Cancel
Save