Fix password validator failure
What does this MR do and why?
Fix https://jihulab.com/gitlab-cn/gitlab/-/jobs/5232711, the submit button may be a button
element, remove the input
selector to make the selector more general
Screenshots or screen recordings
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, fill the password input withaA
- submit the form
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.