summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.proto
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-22 10:42:57 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-23 11:17:26 +0100
commitf961ffd9c7f2d3d51d3e3b060990a4fef9e56c1b (patch)
tree5e13178872626820f171d0844c4375f3f59ed14e /web/lib/config.inc.proto
parentc39183c3ee7eb1b127e981d1f023a13fd88cbea9 (diff)
downloadaur-f961ffd9c7f2d3d51d3e3b060990a4fef9e56c1b.tar.gz
aur-f961ffd9c7f2d3d51d3e3b060990a4fef9e56c1b.tar.xz
Add a per-user session limit (fixes FS#12898).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/config.inc.proto')
-rw-r--r--web/lib/config.inc.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 507ce27c..bee68891 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -45,6 +45,9 @@ $SUPPORTED_LANGS = array(
"zh_CN" => "简体中文"
);
+# Session limit per user
+$MAX_SESSIONS_PER_USER = 8;
+
# Idle seconds before timeout
$LOGIN_TIMEOUT = 7200;