From 1e1748824c2b85a5cb72b546b116be01dc7b840f Mon Sep 17 00:00:00 2001 From: NGUEREZA Tony Date: Sat, 23 Sep 2023 08:14:35 +0100 Subject: [PATCH] Minor change --- src/Auth/Authentication/JWTAuthentication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/Authentication/JWTAuthentication.php b/src/Auth/Authentication/JWTAuthentication.php index 7100ae0..5dd0102 100644 --- a/src/Auth/Authentication/JWTAuthentication.php +++ b/src/Auth/Authentication/JWTAuthentication.php @@ -304,7 +304,7 @@ protected function getUserEntity(string $username, string $password): ?User protected function getUserData(User $user, Token $token): array { return [ - 'token_expire' => $token->expire_at->getTimestamp() + 'refresh_token_expire' => $token->expire_at->getTimestamp() ]; } }