Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed May 28, 2024
2 parents 8dd4569 + 9d69796 commit 7ab9ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function login(array $inputs, string $guard = 'web')

if ($attemptUser->tokens->isNotEmpty()) {

$attemptUser->tokens->each(fn($token) => $token->delete());
$attemptUser->tokens->each(fn ($token) => $token->delete());

event(new OtherDeviceLogout($guard, $attemptUser));
}
Expand Down

0 comments on commit 7ab9ec4

Please sign in to comment.