]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - set session expiration to 1 week
authorDylan William Hardison <dylan@hardison.net>
Fri, 1 Mar 2019 23:32:38 +0000 (18:32 -0500)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 23:32:38 +0000 (18:32 -0500)
Bugzilla/App.pm

index 3ab46150ac44a02336510d9475e573c2952037bd..68a3199fb2fa3165ad38bb35bab4f2e05a3e1cfe 100644 (file)
@@ -55,6 +55,7 @@ sub startup {
   push @{$self->renderer->paths}, @{ Bugzilla::Template::_include_path() };
 
   $self->sessions->cookie_name('bugzilla');
+  $self->sessions->default_expiration(60 * 60 * 24 * 7); # 1 week
 
   $self->hook(
     before_routes => sub {