Fix empty password submit failure in admin edit user page
What does this MR do and why?
Temporarily fix #1875 (closed), this MR will be reverted when upstream fix version (https://gitlab.com/gitlab-org/gitlab/-/merge_requests/99042 ) is merged
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Set up gitlab in EE premium plan at least
- go to
http://{YOUR_HOST}/admin/application_settings/general
and expandSign up restrictions
and turn on password complexity - go to
http://127.0.0.1:3000/admin/users
edit any user - submit the form with an empty value of password
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Kun Qian 编辑于