Please make sure your passwords match magento 1.9.1.0
Open the file app/code/core/Mage/Customer/Model/Customer.php
Find the below code :
$confirmation = $this->getPasswordConfirmation();
Overweite it to this :
$confirmation = $this->getConfirmation();
5 comments:
This does not fix the Registration Password Match issue.
Try to put below condition..
if(Mage::app()->getFrontController()->getRequest()->getModuleName() == 'onepagecheckout'){
$confirmation = $this->getConfirmation();
}else{
$confirmation = $this->getPasswordConfirmation();
}
Worked perfectly. Thanks.
Thank you mate. It works fine now
Reason
The validation method was changed in v1.9.1.
Earlier: $confirmation = $this->getConfirmation();
Now: $confirmation = $this->getPasswordConfirmation();
So the children of class Mage_Customer_Model_Customer should use getPasswordConfirmation() instead of getConfirmation()
Solution
Go to file app/code/core/Mage/Customer/Model/Customer.php
Find the below code : $confirmation = $this->getPasswordConfirmation();
Change this to : $confirmation = $this->getConfirmation();
If this still doesn’t work then add it to a condition mentioned below
if(Mage::app()->getFrontController()->getRequest()->getModuleName() == ‘onepagecheckout’){
$confirmation = $this->getConfirmation();
}else{
$confirmation = $this->getPasswordConfirmation();
}
reference link
http://www.reddit.com/r/Magento/comments/37gaqb/how_to_fix_please_make_sure_your_passwords_match/
Post a Comment