Dear Community,
I have a Problem with the costomer-login (after upgrading to 19.1.1.). There was an error massage that the password do not match. However, I’ve done some research and found a solution.
******
Children of class Mage_Customer_Model_Customer should use getPasswordConfirmation() instead of getConfirmation()
Upd: In class Mage_Customer_Model_Customer, method validate() was changed
Before v1.91 :
$confirmation = $this->getConfirmation();
After:
$confirmation = $this->getPasswordConfirmation();
https://github.com/speedupmate/Magento-CE-Mirror/blame/master/app/code/core/Mage/Customer/Model/Cust...
https://github.com/speedupmate/Magento-CE-Mirror/commits/magento-ce-1.9.1.0/app/code/core/Mage/Custo...
*******
The login seemed to work. But now I’ve discovered, if the site will be closed or the browser, the login does still not work (without an error-message). If I clear the browserhistory (Cookis and Cache) the Login works again. I can log of and log in as often as I want. But after closing the browser, like described it does not work anymore (until I clear the browserhistory).
Help would be higly appreciated,
Thx Michael
@KreativWolke Can I know from which version of Magento you upgraded to 1.9.1.1?
I do not see any form keys in frontend form for login and cutomer registration in your site.
Like following for the customer login page.
<form class="scaffold-form" id="login-form" method="post" action="http://example.com/customer/account/loginPost/"> <input type="hidden" value="JITH2ibjeuQNV6VW" name="form_key">
Starting from Magento 1.8 form keys were introduced for the frontend form also.
Hey, thx for your contribution, it was 1.8.1.0