Skip to content

Commit

Permalink
Fix oauth setting list bug (go-gitea#19682)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and AbdulrhmnGhanem committed Aug 23, 2022
1 parent 17f28ab commit 30415e8
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 30415e8

Please sign in to comment.