chore: fix build error

This commit is contained in:
jamesread 2025-08-03 22:41:01 +01:00
parent c5b49b33ab
commit 17c716c599
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ func (h *OAuth2Handler) handleOAuthCallback(w http.ResponseWriter, r *http.Reque
Timeout: clientSettings.Timeout,
}
userinfo := getUserInfo(cfg, userInfoClient, cfg.AuthOAuth2Providers[registeredState.providerName])
userinfo := getUserInfo(h.cfg, userInfoClient, h.cfg.AuthOAuth2Providers[registeredState.providerName])
h.registeredStates[state].Username = userinfo.Username
h.registeredStates[state].Usergroup = userinfo.Usergroup