errors should not be capitalized

This commit is contained in:
Gustavo Maronato 2023-09-15 19:48:09 -03:00
parent 4d0b75ed0e
commit 933ba2da0d
No known key found for this signature in database

View file

@ -216,7 +216,7 @@ func oauthCallback(ctx echo.Context) error {
case "gitea":
resp, err = http.Get(urlJoin(config.C.GiteaUrl, user.NickName+".keys"))
case "openid-connect":
err = errors.New("Cannot get keys from OIDC provider")
err = errors.New("cannot get keys from OIDC provider")
}
if err == nil {