Skip to content

Commit d3228dd

Browse files
committed
fix: set $this->user because the login is completed
1 parent 1819a63 commit d3228dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Authentication/Authenticators/Session.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ public function checkAction(string $type, string $token): bool
138138
// Clean up our session
139139
session()->remove('auth_action');
140140

141+
$this->user = $user;
142+
141143
// a successful login
142144
Events::trigger('login', $user);
143145

0 commit comments

Comments
 (0)