Skip to content

Commit ea38e90

Browse files
authored
Fix oauth setting list bug (#19682)
1 parent f41c2be commit ea38e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/admin/auths.go

Lines changed: 1 addition & 1 deletion
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)