I want to remove the confirm password validation field in my registration form. How could I do it?
Magento – How to remove confirm password field
magento2moduleregistrationvalidation
magento2moduleregistrationvalidation
I want to remove the confirm password validation field in my registration form. How could I do it?
Best Answer
You need to change two places
Comment password confirmation field in
Magento/Customer/view/frontend/templates/form/register.phtml
Change the below line in
Magento/Customer/Controller/Account/CreatePost.php
from
to
Info: Don't change core file directly, you must override the above files from your custom module/theme.