diff options
author | Unknwon <u@gogs.io> | 2015-12-05 17:13:13 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-05 17:13:13 -0500 |
commit | 978dc00305f1af705ae8900977529bac6fa4c72b (patch) | |
tree | 67587da091f590282fd2c120197249fd9b07b98f /routers/admin/users.go | |
parent | bf26808fb3fd55d74089e4f758aaac77be56f7ea (diff) | |
download | gitea-978dc00305f1af705ae8900977529bac6fa4c72b.tar.gz gitea-978dc00305f1af705ae8900977529bac6fa4c72b.zip |
APIs: admin users
Diffstat (limited to 'routers/admin/users.go')
-rw-r--r-- | routers/admin/users.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go index d5358553ce..ae17a99cd9 100644 --- a/routers/admin/users.go +++ b/routers/admin/users.go @@ -121,7 +121,7 @@ func NewUserPost(ctx *middleware.Context, form auth.AdminCrateUserForm) { } return } - log.Trace("Account created by admin(%s): %s", ctx.User.Name, u.Name) + log.Trace("Account created by admin (%s): %s", ctx.User.Name, u.Name) // Send e-mail notification. if form.SendNotify && setting.MailService != nil { @@ -224,7 +224,7 @@ func EditUserPost(ctx *middleware.Context, form auth.AdminEditUserForm) { } return } - log.Trace("Account profile updated by admin(%s): %s", ctx.User.Name, u.Name) + log.Trace("Account profile updated by admin (%s): %s", ctx.User.Name, u.Name) ctx.Flash.Success(ctx.Tr("admin.users.update_profile_success")) ctx.Redirect(setting.AppSubUrl + "/admin/users/" + ctx.Params(":userid")) @@ -254,7 +254,7 @@ func DeleteUser(ctx *middleware.Context) { } return } - log.Trace("Account deleted by admin(%s): %s", ctx.User.Name, u.Name) + log.Trace("Account deleted by admin (%s): %s", ctx.User.Name, u.Name) ctx.Flash.Success(ctx.Tr("admin.users.deletion_success")) ctx.JSON(200, map[string]interface{}{ |