Skip to content

Fix empty password submit failure in admin edit user page

Kun Qian请求将fix-empty-password-submit-failure合并到main-jh

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
QQ20221014-162153-HD QQ20221014-161809-HD

How to set up and validate locally

  1. Set up gitlab in EE premium plan at least
  2. go to http://{YOUR_HOST}/admin/application_settings/general and expand Sign up restrictions and turn on password complexity
  3. go to http://127.0.0.1:3000/admin/users edit any user
  4. 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.

Kun Qian 编辑于

合并请求报告