Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Session timeout default value
Browse files Browse the repository at this point in the history
If a user is idle for 600 seconds the session will expire.

Until session expiration time is not configurable via a
configuration file this value is fixed.
  • Loading branch information
fbergkemper committed Aug 20, 2015
1 parent 2c361ed commit cefcce4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@ public function timeout()
{
// preparation for setting timeout via config file:
$this->getController()->getServiceLocator()->get('config');
$timeout = 300;
$timeout = 600;

if($_SESSION['bareos']['idletime'] + $timeout > time()) {
$_SESSION['bareos']['idletime'] = time();
Expand Down

0 comments on commit cefcce4

Please sign in to comment.