Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /