]> source.dussan.org Git - gitea.git/commitdiff
Fix openidConnect source regression from #16544 (#16759)
authorzeripath <art27@cantab.net>
Sun, 22 Aug 2021 09:17:05 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Aug 2021 09:17:05 +0000 (10:17 +0100)
Unfortunately there is bug in #16544 meaning that openid connects aren't
being matched properly as the capitalisation in that PR is incorrect.

This PR changes the capitalisation back to what is expected.

Signed-off-by: Andrew Thornton <art27@cantab.net>
services/auth/source/oauth2/providers_openid.go

index b725cf96059cc157bbf09ffdae004436cf8a7990..7c3836503ce9c924d7254b12c21dae1e43ea7157 100644 (file)
@@ -18,7 +18,7 @@ type OpenIDProvider struct {
 
 // Name provides the technical name for this provider
 func (o *OpenIDProvider) Name() string {
-       return "openidconnect"
+       return "openidConnect"
 }
 
 // DisplayName returns the friendly name for this provider