Skip to content

Commit

Permalink
revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 17, 2023
1 parent 53b35f6 commit 69926da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GuardHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public function id()
public function setUser(AuthenticatableContract $user)
{
$this->user = $user;

return $this;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions SessionGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,8 @@ public function setUser(AuthenticatableContract $user)
$this->loggedOut = false;

$this->fireAuthenticatedEvent($user);

return $this;
}

/**
Expand Down

0 comments on commit 69926da

Please sign in to comment.