Switch from gitlab to gitea format

This commit is contained in:
paul 2021-02-06 23:44:14 +01:00
parent 4c0faeee3e
commit 94a7b85017
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func OAuth2Endpoint(p *services.Provider, config *oauth2.Config) http.HandlerFun
}
var user struct {
Username string `json:"username"`
Username string `json:"login"`
}
err = json.NewDecoder(resp.Body).Decode(&user)