Skip to content

Commit 4386eb7

Browse files
authored
Fix oauth setting list bug (#19681)
1 parent d6aab06 commit 4386eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/admin/auths.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func NewAuthSource(ctx *context.Context) {
112112
ctx.Data["SSPIDefaultLanguage"] = ""
113113

114114
// only the first as default
115-
ctx.Data["oauth2_provider"] = oauth2providers[0].Name
115+
ctx.Data["oauth2_provider"] = oauth2providers[0].Name()
116116

117117
ctx.HTML(http.StatusOK, tplAuthNew)
118118
}

0 commit comments

Comments
 (0)