aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/config.default.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/config.default.php b/data/config.default.php
index d3cd3bf22..433207a9c 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -46,7 +46,7 @@ return array(
# `http_auth` is an access controled by the HTTP Web server (e.g. `/FreshRSS/p/i/.htaccess` for Apache)
# if you use `http_auth`, remember to protect only `/FreshRSS/p/i/`,
# and in particular not protect `/FreshRSS/p/api/` if you would like to use the API (different login system).
- 'auth_type' => 'none',
+ 'auth_type' => 'form',
# Allow or not the use of the API, used for mobile apps.
# End-point is http://example.net/FreshRSS/p/api/greader.php
@@ -74,6 +74,9 @@ return array(
'limits' => array(
+ # Duration in seconds of the login cookie.
+ 'cookie_duration' => 2592000,
+
# Duration in seconds of the SimplePie cache,
# during which a query to the RSS feed will return the local cached version.
# Especially important for multi-user setups.