We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41c2be commit ea38e90Copy full SHA for ea38e90
routers/web/admin/auths.go
@@ -112,7 +112,7 @@ func NewAuthSource(ctx *context.Context) {
112
ctx.Data["SSPIDefaultLanguage"] = ""
113
114
// only the first as default
115
- ctx.Data["oauth2_provider"] = oauth2providers[0].Name
+ ctx.Data["oauth2_provider"] = oauth2providers[0].Name()
116
117
ctx.HTML(http.StatusOK, tplAuthNew)
118
}
0 commit comments