Skip to content

Commit 711cac0

Browse files
committed
Fix error log
1 parent 44058c3 commit 711cac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/web/admin/auths.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func EditAuthSource(ctx *context.Context) {
308308

309309
source, err := login.GetSourceByID(ctx.ParamsInt64(":authid"))
310310
if err != nil {
311-
ctx.ServerError("GetLoginSourceByID", err)
311+
ctx.ServerError("login.GetSourceByID", err)
312312
return
313313
}
314314
ctx.Data["Source"] = source
@@ -343,7 +343,7 @@ func EditAuthSourcePost(ctx *context.Context) {
343343

344344
source, err := login.GetSourceByID(ctx.ParamsInt64(":authid"))
345345
if err != nil {
346-
ctx.ServerError("GetLoginSourceByID", err)
346+
ctx.ServerError("login.GetSourceByID", err)
347347
return
348348
}
349349
ctx.Data["Source"] = source

0 commit comments

Comments
 (0)