diff --git a/src/Services/UserService.php b/src/Services/UserService.php index f876b78..548f33a 100644 --- a/src/Services/UserService.php +++ b/src/Services/UserService.php @@ -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)); }