From 72312f53a12e056fffd2eab67e9541bbe1bf3674 Mon Sep 17 00:00:00 2001 From: guyunze Date: Thu, 16 Jul 2020 15:11:00 +0800 Subject: [PATCH] bug fix for RemoveByRefresh --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index b51513a..a7b6511 100644 --- a/redis.go +++ b/redis.go @@ -219,7 +219,7 @@ func (s *TokenStore) RemoveByAccess(ctx context.Context, access string) error { // RemoveByRefresh Use the refresh token to delete the token information func (s *TokenStore) RemoveByRefresh(ctx context.Context, refresh string) error { - return s.removeToken(ctx, refresh, false) + return s.removeToken(ctx, refresh, true) } // GetByCode Use the authorization code for token information data