2

I've tried removing data-validation Tag from password input but it didn't work for Reset Password, New Password, and Change Password.

2 Answers 2

2

I've created a file app/design/frontend/vendor/theme/web/mage/validation.js

And modified following function and return true.

validate-customer-password
1

You can disable password validation from the admin panel for that got to Stores -> Configuration -> Customers -> Customer Configuration in Password Options section there is a field Number of Required Character Classes set 1 in that field and in Minimum Password Length set 1 and save the configuration.

Now it will accept any 1 character in password.

1
  • Check question heading "Remove all password validation". And I think he just try to remove the data-validation attribute to remove password validation that's why I have suggest this way instead of removing data-validation attribute. Jul 7, 2018 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.