diff --git a/src/Auth/Service/TokenService.php b/src/Auth/Service/TokenService.php index 5e3b1794..7cc2b660 100644 --- a/src/Auth/Service/TokenService.php +++ b/src/Auth/Service/TokenService.php @@ -40,9 +40,8 @@ class TokenService } $userId = (int) $item->get(); - $this->cache->delete($key); - return ['userId' => $userId, 'rawToken' => $this->storeRefreshToken($userId)]; + return ['userId' => $userId, 'rawToken' => $submittedToken]; } public function revokeRefreshToken(string $rawToken): void