diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-05-11 21:06:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 21:06:02 +0800 |
commit | ea38e90e6b82aeba62c2ad6e9bf10f69013eadff (patch) | |
tree | 9904e79aff6360064a11b3a77879a9007a1f9c18 /routers/web/admin/auths.go | |
parent | f41c2bec4ccadb0c147ca2588f4a00d60ae6c594 (diff) | |
download | gitea-ea38e90e6b82aeba62c2ad6e9bf10f69013eadff.tar.gz gitea-ea38e90e6b82aeba62c2ad6e9bf10f69013eadff.zip |
Fix oauth setting list bug (#19682)
Diffstat (limited to 'routers/web/admin/auths.go')
-rw-r--r-- | routers/web/admin/auths.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/admin/auths.go b/routers/web/admin/auths.go index 1d72a88aa1..7ea8a52809 100644 --- a/routers/web/admin/auths.go +++ b/routers/web/admin/auths.go @@ -112,7 +112,7 @@ func NewAuthSource(ctx *context.Context) { ctx.Data["SSPIDefaultLanguage"] = "" // only the first as default - ctx.Data["oauth2_provider"] = oauth2providers[0].Name + ctx.Data["oauth2_provider"] = oauth2providers[0].Name() ctx.HTML(http.StatusOK, tplAuthNew) } |