mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
#1606 GUI bug while adding ldap user
This commit is contained in:
@@ -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