summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2015-01-10 20:28:55 +0100
committercos <cos>2015-01-10 21:58:04 +0100
commit8df944e4320ae7c8d63569ba11379a72afe338f7 (patch)
tree1df9087295880a0323422bf5b6e4d29e145acbd6
parent171cd3504615382db0783495b6abd18608627d50 (diff)
downloadmat-8df944e4320ae7c8d63569ba11379a72afe338f7.zip
Default session expiration was a bit quick.
-rwxr-xr-xcgi-bin/mat.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi-bin/mat.cgi b/cgi-bin/mat.cgi
index 4275478..d6e3d2d 100755
--- a/cgi-bin/mat.cgi
+++ b/cgi-bin/mat.cgi
@@ -86,6 +86,7 @@ for ($action) {
}
elsif (/^relocate$/) {
if ($session->param('authenticated') eq "yes") {
+ $session->expire("5y");
cmd_relocate($id, $storage);
} else {
unauthorized();