fix: remove incorrect comment from getOAuthRefreshToken function

This commit is contained in:
yusing 2025-05-03 19:38:02 +08:00
parent efaabfa63a
commit ac1470d81d

View file

@ -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 {