Skip to content

Commit

Permalink
Merge pull request #391 from ben-nsng/master
Browse files Browse the repository at this point in the history
resolve issue #325 #388
  • Loading branch information
antonioribeiro authored Sep 10, 2019
2 parents 7e15a0d + 71802ba commit 896200f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Data/Repositories/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ 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 896200f

Please sign in to comment.