diff options
author | cos <cos> | 2015-01-10 20:28:55 +0100 |
---|---|---|
committer | cos <cos> | 2015-01-10 21:58:04 +0100 |
commit | 8df944e4320ae7c8d63569ba11379a72afe338f7 (patch) | |
tree | 1df9087295880a0323422bf5b6e4d29e145acbd6 | |
parent | 171cd3504615382db0783495b6abd18608627d50 (diff) | |
download | mat-8df944e4320ae7c8d63569ba11379a72afe338f7.zip |
Default session expiration was a bit quick.
-rwxr-xr-x | cgi-bin/mat.cgi | 1 |
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(); |