diff --git a/app/Services/JwtService.php b/app/Services/JwtService.php index 24936cd..0c4a81c 100644 --- a/app/Services/JwtService.php +++ b/app/Services/JwtService.php @@ -61,6 +61,11 @@ class JwtService return $user->user_jwt; } + public function forceRefresh(User $user): string + { + return $this->issue($user); + } + public function decode(string $token): object { $secret = config('jwt.secret');