Skip to content

Commit

Permalink
Fix oauth setting list bug (#19682)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored May 11, 2022
1 parent f41c2be commit ea38e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/admin/auths.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ea38e90

Please sign in to comment.