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 /cmd | |
parent | 1fa5b6711b1540415511cd33d17a12170ab69ba6 (diff) | |
download | gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.tar.gz gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.zip |
#1606 GUI bug while adding ldap user
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index bc8bb74efe..0e6c5e7b35 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -312,7 +312,7 @@ func runWeb(ctx *cli.Context) { m.Group("/users", func() { m.Get("", admin.Users) m.Get("/new", admin.NewUser) - m.Post("/new", bindIgnErr(auth.RegisterForm{}), admin.NewUserPost) + m.Post("/new", bindIgnErr(auth.AdminCrateUserForm{}), admin.NewUserPost) m.Get("/:userid", admin.EditUser) m.Post("/:userid", bindIgnErr(auth.AdminEditUserForm{}), admin.EditUserPost) m.Post("/:userid/delete", admin.DeleteUser) |