aboutsummaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
authorAlexander Lunegov <alunegov@gmail.com>2016-12-21 12:09:43 +0500
committer无闻 <u@gogs.io>2016-12-21 02:09:43 -0500
commit7358e46815d6c622377b957329269e4a967913f3 (patch)
tree7ff1be9c562724ca2b2ad5389bbccdc6c3193acf /routers
parent8f09fc64bd0364953f233244539b78ba340a39be (diff)
Fix string format verbs (#3637)
Diffstat (limited to 'routers')
-rw-r--r--routers/admin/auths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index df2512aa..3cb7a58b 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -228,7 +228,7 @@ func EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm) {
ctx.Handle(500, "UpdateSource", err)
return
}
- log.Trace("Authentication changed by admin(%s): %s", ctx.User.Name, source.ID)
+ log.Trace("Authentication changed by admin(%s): %d", ctx.User.Name, source.ID)
ctx.Flash.Success(ctx.Tr("admin.auths.update_success"))
ctx.Redirect(setting.AppSubUrl + "/admin/auths/" + com.ToStr(form.ID))