Skip to content
Permalink
Browse files

Fix regression in session handling

  • Loading branch information...
dereuromark committed Jul 31, 2018
1 parent 0a7f75e commit 0124feee8c6711cd9e1004988ab7a16d687a1aa5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Http/Session.php
@@ -608,11 +608,11 @@ public function renew()
*/
protected function _timedOut()
{
$time = (int)$this->read('Config.time');
$time = $this->read('Config.time');
$result = false;
$checkTime = $time !== null && $this->_lifetime > 0;
if ($checkTime && (time() - $time > $this->_lifetime)) {
if ($checkTime && (time() - (int)$time > $this->_lifetime)) {
$result = true;
}

0 comments on commit 0124fee

Please sign in to comment.
You can’t perform that action at this time.