2

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

asked Jul 6, 2018 at 14:37

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
answered Jul 10, 2018 at 7:22
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.

Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
answered Jul 7, 2018 at 5:54
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. Commented Jul 7, 2018 at 7:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.