Skip to content

Commit 44058c3

Browse files
committed
Fix error log
1 parent 5fe42ae commit 44058c3

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
@@ -284,7 +284,7 @@ func NewAuthSourcePost(ctx *context.Context) {
284284
ctx.Data["Err_Name"] = true
285285
ctx.RenderWithErr(ctx.Tr("admin.auths.login_source_exist", err.(login.ErrSourceAlreadyExist).Name), tplAuthNew, form)
286286
} else {
287-
ctx.ServerError("CreateSource", err)
287+
ctx.ServerError("login.CreateSource", err)
288288
}
289289
return
290290
}

0 commit comments

Comments
 (0)