简体   繁体   中英

Magento: frontend user login not working

I have an existing magento project. User login always worked fine but suddenly whatever I try I get an error. I tracked the problem down and found that in app/code/core/Mage/Customer/Model/Customer.php at line 425 that

$this->getPasswordHash()

is empty. Has anyone ever experienced this and could give me a hint as to why this is happening? I tried resetting the password, but that didn't help at all.

as it turns out, I was trying to override the Customer.php model with 2 different extensions. So the handling of the user login in Extension A was ignored in favor of Extension B and that's why it didn't work any more. As a solution I merged the two extensions so that there was only one overriding Customer.php and now it works again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM