diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-01 12:35:06 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-01 12:35:06 -0400 |
commit | fb448187078ace6574f145c39c319c38a287c84b (patch) | |
tree | 39784d369fd4856034fa70b4dd06046ecd7da861 /app/constants.php | |
parent | db88a00d48d1dce48b8700e460c06ff7fb344f0a (diff) |
Add config parameter to define session duration
Diffstat (limited to 'app/constants.php')
-rw-r--r-- | app/constants.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/constants.php b/app/constants.php index e232aba6..e73e7b1a 100644 --- a/app/constants.php +++ b/app/constants.php @@ -93,3 +93,7 @@ defined('HIDE_LOGIN_FORM') or define('HIDE_LOGIN_FORM', false); defined('BRUTEFORCE_CAPTCHA') or define('BRUTEFORCE_CAPTCHA', 3); defined('BRUTEFORCE_LOCKDOWN') or define('BRUTEFORCE_LOCKDOWN', 6); defined('BRUTEFORCE_LOCKDOWN_DURATION') or 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 +defined('SESSION_DURATION') or define('SESSION_DURATION', 0); |