aboutsummaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorGravatar Martin <spleefer90@gmail.com> 2020-12-26 23:40:24 +0100
committerGravatar GitHub <noreply@github.com> 2020-12-26 23:40:24 +0100
commit6ecfc01c1f3f37491b184711cb29cd9a839f4a9c (patch)
tree10ab4073ad35a4be5fd6666cb5304636bb8559f9 /config.default.php
parent2b0f93b01367cdd23c35bd6a3b906deda31f3b61 (diff)
bump default logout from 30 days to 3 months (#3170)
* bump default logout from 30 to 365 days * * Change cookie duration to constant * Change cookie duration to three months * use class * use 90 days (otherwise login form says 91.3 days) * change class * also this works now Co-authored-by: Martin Rys <martin@rys.pw> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.default.php b/config.default.php
index b55aca9ad..996dfb358 100644
--- a/config.default.php
+++ b/config.default.php
@@ -89,7 +89,7 @@ return array(
'limits' => array(
# Duration in seconds of the login cookie.
- 'cookie_duration' => 2592000,
+ 'cookie_duration' => FreshRSS_Auth::DEFAULT_COOKIE_DURATION,
# Duration in seconds of the SimplePie cache,
# during which a query to the RSS feed will return the local cached version.