Skip to content

Commit 72312f5

Browse files
author
guyunze
committed
bug fix for RemoveByRefresh
1 parent ebe9781 commit 72312f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (s *TokenStore) RemoveByAccess(ctx context.Context, access string) error {
219219

220220
// RemoveByRefresh Use the refresh token to delete the token information
221221
func (s *TokenStore) RemoveByRefresh(ctx context.Context, refresh string) error {
222-
return s.removeToken(ctx, refresh, false)
222+
return s.removeToken(ctx, refresh, true)
223223
}
224224

225225
// GetByCode Use the authorization code for token information data

0 commit comments

Comments
 (0)