Skip to content
Snippets Groups Projects
Commit 0b271547 authored by Jan Mach's avatar Jan Mach
Browse files

Fixed incorrect login validation for user form

(Redmine issue: #7544)
parent 6a18aab2
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,6 @@ class CreateUserAccountForm(AdminUserAccountForm):
wtforms.validators.DataRequired(),
wtforms.validators.Length(min=3, max=50),
check_login,
check_unique_login,
check_id_existence
]
)
......@@ -200,7 +199,6 @@ class AdminUpdateUserAccountForm(AdminUserAccountForm):
wtforms.validators.DataRequired(),
wtforms.validators.Length(min=3, max=50),
hawat.forms.check_login,
check_unique_login,
check_id_uniqueness
]
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment