Skip to content

Commit

Permalink
bug fix for RemoveByRefresh
Browse files Browse the repository at this point in the history
  • Loading branch information
guyunze committed Jul 16, 2020
1 parent ebe9781 commit 72312f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72312f5

Please sign in to comment.