Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
doncadavona committed Jun 24, 2019
1 parent e3f439b commit 5bcd748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Repositories/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private function ensureSessionDataIsComplete()

$wasComplete = true;

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

0 comments on commit 5bcd748

Please sign in to comment.