summaryrefslogtreecommitdiffstats
path: root/routers/web/admin/users.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/admin/users.go')
-rw-r--r--routers/web/admin/users.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/admin/users.go b/routers/web/admin/users.go
index e1903ab1df..acccc516bb 100644
--- a/routers/web/admin/users.go
+++ b/routers/web/admin/users.go
@@ -205,7 +205,7 @@ func prepareUserInfo(ctx *context.Context) *models.User {
return u
}
-// EditUser show editting user page
+// EditUser show editing user page
func EditUser(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("admin.users.edit_account")
ctx.Data["PageIsAdmin"] = true
@@ -222,7 +222,7 @@ func EditUser(ctx *context.Context) {
ctx.HTML(http.StatusOK, tplUserEdit)
}
-// EditUserPost response for editting user
+// EditUserPost response for editing user
func EditUserPost(ctx *context.Context) {
form := web.GetForm(ctx).(*forms.AdminEditUserForm)
ctx.Data["Title"] = ctx.Tr("admin.users.edit_account")