aboutsummaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-13 10:05:18 -0400
committerUnknwon <u@gogs.io>2015-09-13 10:05:18 -0400
commite5ed5904c62d9a618cb6f4ad852b021a02c3481e (patch)
treeb0c91a2e532899a1f8f0707bd0df795ab65080d7 /routers/admin
parent1fa5b6711b1540415511cd33d17a12170ab69ba6 (diff)
downloadgitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.tar.gz
gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.zip
#1606 GUI bug while adding ldap user
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 7553aba6bd..dfa4d5ef28 100644
--- a/routers/admin/users.go
+++ b/routers/admin/users.go
@@ -63,7 +63,7 @@ func NewUser(ctx *middleware.Context) {
ctx.HTML(200, USER_NEW)
}
-func NewUserPost(ctx *middleware.Context, form auth.RegisterForm) {
+func NewUserPost(ctx *middleware.Context, form auth.AdminCrateUserForm) {
ctx.Data["Title"] = ctx.Tr("admin.users.new_account")
ctx.Data["PageIsAdmin"] = true
ctx.Data["PageIsAdminUsers"] = true