diff options
author | Unknwon <u@gogs.io> | 2015-09-13 10:05:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-13 10:05:18 -0400 |
commit | e5ed5904c62d9a618cb6f4ad852b021a02c3481e (patch) | |
tree | b0c91a2e532899a1f8f0707bd0df795ab65080d7 /routers/admin | |
parent | 1fa5b6711b1540415511cd33d17a12170ab69ba6 (diff) | |
download | gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.tar.gz gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.zip |
#1606 GUI bug while adding ldap user
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/users.go | 2 |
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 |