summaryrefslogtreecommitdiffstats
path: root/services/auth/source/oauth2/providers_openid.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-22 10:17:05 +0100
committerGitHub <noreply@github.com>2021-08-22 10:17:05 +0100
commit7f856109420ddce421dab8d37e2590c9a4db4fd0 (patch)
tree233bf52cb38f22a7b30073d6026c3d9f2dd33151 /services/auth/source/oauth2/providers_openid.go
parent208ae9e99664e3072c5a7e905060c9ab144e0635 (diff)
downloadgitea-7f856109420ddce421dab8d37e2590c9a4db4fd0.tar.gz
gitea-7f856109420ddce421dab8d37e2590c9a4db4fd0.zip
Fix openidConnect source regression from #16544 (#16759)
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>
Diffstat (limited to 'services/auth/source/oauth2/providers_openid.go')
-rw-r--r--services/auth/source/oauth2/providers_openid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/auth/source/oauth2/providers_openid.go b/services/auth/source/oauth2/providers_openid.go
index b725cf9605..7c3836503c 100644
--- a/services/auth/source/oauth2/providers_openid.go
+++ b/services/auth/source/oauth2/providers_openid.go
@@ -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