Skip to content

Commit

Permalink
Merge pull request #11 from winfield0821/bug_fix
Browse files Browse the repository at this point in the history
bug fix for RemoveByRefresh
  • Loading branch information
LyricTian authored Jul 16, 2020
2 parents ebe9781 + 72312f5 commit f59d69b
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 f59d69b

Please sign in to comment.