mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
fix: remove incorrect comment from getOAuthRefreshToken function
This commit is contained in:
parent
efaabfa63a
commit
ac1470d81d
1 changed files with 0 additions and 2 deletions
|
@ -86,8 +86,6 @@ func newSession(username string, groups []string) Session {
|
|||
}
|
||||
|
||||
// getOAuthRefreshToken returns the refresh token for the given session.
|
||||
//
|
||||
// The token is removed from the store after retrieval.
|
||||
func getOAuthRefreshToken(claims *Session) (*oauthRefreshToken, bool) {
|
||||
token, ok := oauthRefreshTokens.Load(string(claims.SessionID))
|
||||
if !ok {
|
||||
|
|
Loading…
Add table
Reference in a new issue