diff options
author | Alexander Lunegov <alunegov@gmail.com> | 2016-12-21 12:09:43 +0500 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-12-21 02:09:43 -0500 |
commit | 7358e46815d6c622377b957329269e4a967913f3 (patch) | |
tree | 7ff1be9c562724ca2b2ad5389bbccdc6c3193acf /routers | |
parent | 8f09fc64bd0364953f233244539b78ba340a39be (diff) |
Fix string format verbs (#3637)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/admin/auths.go | 2 |
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)) |