Skip to content

Commit 30415e8

Browse files
lunnyAbdulrhmnGhanem
authored andcommitted
Fix oauth setting list bug (go-gitea#19682)
1 parent 17f28ab commit 30415e8

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)