i have magento 1.9.1
I have some problem with registration and customer login. In registration page i had some errors with the password field.
--ERROR
Cannot save the customer.
Invalid method Mage_Customer_Model_Customer::cleanPasswordsValidationData(Array ( ) )
So i have modified /httpdocs/app/code/core/Mage/Customer/controllers/AccountController.php
if (empty($errors)) {
// i have commented this line $customer->cleanPasswordsValidationData();
The registration of customer works but when i try to login it doesn't work. I have the error that LOGIN AND PASSWORD ARE INVALID
I have this error message with new accounts that i created, old accounts works.
How can i solve the problem? It is a problem with magento eav attribute in database?