summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.proto
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-21 18:17:55 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-21 18:17:58 +0100
commit52dfa9ca7c5ef12f4e65ff88a0863f0a0f2acb19 (patch)
tree4178840b1a4bcb0e2f9ec2a6a4eab0fe8e19581d /web/lib/config.inc.proto
parent31b0b68b479aff1f85feb89010ed3fcf40a95673 (diff)
downloadaur-52dfa9ca7c5ef12f4e65ff88a0863f0a0f2acb19.tar.gz
aur-52dfa9ca7c5ef12f4e65ff88a0863f0a0f2acb19.tar.xz
Make persistent cookie timeout configurable via "config.inc" (FS#22994).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/config.inc.proto')
-rw-r--r--web/lib/config.inc.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 3a0ed349..507ce27c 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -48,3 +48,5 @@ $SUPPORTED_LANGS = array(
# Idle seconds before timeout
$LOGIN_TIMEOUT = 7200;
+# Session timeout when using "Remember me" cookies
+$PERSISTENT_COOKIE_TIMEOUT = 60 * 60 * 24 * 30;