Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-nsng authored and deivide committed Feb 19, 2020
1 parent 1a707e8 commit 5d25313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Data/Repositories/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ private function ensureSessionDataIsComplete()
$wasComplete = true;

foreach ($this->sessionInfo as $key => $value) {
if ($key === 'user_agent') continue;
if ($sessionData[$key] !== $value) {
if (!isset($model)) {
$model = $this->find($this->sessionInfo['id']);
Expand Down

0 comments on commit 5d25313

Please sign in to comment.