summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-01 12:35:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-01 12:35:06 -0400
commitfb448187078ace6574f145c39c319c38a287c84b (patch)
tree39784d369fd4856034fa70b4dd06046ecd7da861 /config.default.php
parentdb88a00d48d1dce48b8700e460c06ff7fb344f0a (diff)
Add config parameter to define session duration
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index 76ec38cc..2ec7d674 100644
--- a/config.default.php
+++ b/config.default.php
@@ -168,3 +168,7 @@ define('BRUTEFORCE_LOCKDOWN', 6);
// Lock account duration in minute
define('BRUTEFORCE_LOCKDOWN_DURATION', 15);
+
+// Session duration in second (0 = until the browser is closed)
+// See http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
+define('SESSION_DURATION', 0);