diff --git a/routers/user/user.go b/routers/user/user.go index 6a7d016612f..f9aba69a04e 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -105,7 +105,7 @@ func SignInPost(ctx *middleware.Context, form auth.LogInForm) { user, err = models.LoginUser(form.UserName, form.Password) if err != nil { if err == models.ErrUserNotExist { - log.Trace("%s Log in failed: %s/%s", ctx.Req.RequestURI, form.UserName, form.Password) + log.Trace("%s Log in failed: %s", ctx.Req.RequestURI, form.UserName) ctx.RenderWithErr("Username or password is not correct", "user/signin", &form) return }