Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4386eb7

Browse files
authoredMay 11, 2022
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

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)
Please sign in to comment.