mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 16:48:03 +02:00
#1606 GUI bug while adding ldap user
This commit is contained in:
1 parent
1fa5b6711b
commit
e5ed5904c6
4 files changed
+19
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user