Skip to content

Commit f59d69b

Browse files
authored
Merge pull request go-oauth2#11 from winfield0821/bug_fix
bug fix for RemoveByRefresh
2 parents ebe9781 + 72312f5 commit f59d69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.go

+1-1
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)