Magento – Customer Can’t Log In

ce-1.8.1.0customerlogging

I just migrated my website. But I got a problem.

My customers can't log in to their account. When click log in on log-in page. http://www.mywebsite.com/customer/account/login/ It should be log in on their account but it redirects the same page.

I'm very new to magento.
Please Help me how to fix that?

Best Answer

Do you have a custom template and did it work in 1.7? In 1.8.1 form_keys were added, so please check your custom template for this line:

<?php echo $this->getBlockHtml('formkey'); ?>

if it is missing, add it as in

/app/design/frontend/base/default/template/persistent/customer/form/login.phtml

And check all other forms after the update:

https://gist.github.com/drobinson/7913822

Related Topic