aboutsummaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2016-11-27 14:03:59 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2016-11-27 21:39:06 +0800
commitec87a75c000d52bfc2a8dcfc7097c14fe872c376 (patch)
treed849fb1070fe15136538404127099e9a7e0dd302 /routers/admin
parente6da2cf2cbff4d550cf938548233a59ceef6528e (diff)
downloadgitea-ec87a75c000d52bfc2a8dcfc7097c14fe872c376.tar.gz
gitea-ec87a75c000d52bfc2a8dcfc7097c14fe872c376.zip
golint fixed for modules/auth
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/users.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go
index 04e331d229..c95aba7729 100644
--- a/routers/admin/users.go
+++ b/routers/admin/users.go
@@ -60,7 +60,7 @@ func NewUser(ctx *context.Context) {
}
// NewUserPost response for adding a new user
-func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm) {
+func NewUserPost(ctx *context.Context, form auth.AdminCreateUserForm) {
ctx.Data["Title"] = ctx.Tr("admin.users.new_account")
ctx.Data["PageIsAdmin"] = true
ctx.Data["PageIsAdminUsers"] = true