Customer cannot login to magento 1.8.1.0

Using the free theme sometime may result  of customer not logged in problem issue. To resolve this issue we need to put the for key field in the login form.
In app/design/frontend/default/…/template/persistent/customer/form/login.phtml , around line 41 should look like

 <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
 <?php echo $this->getBlockHtml('formkey'); ?> 

If the code is not seen then add it then customer login works

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.