[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Magento. How to fix customer login issue

This tutorial will show you how to fix the issue with customer login. When a customer puts his e-mail and password and clicks Submit, the page refreshes and leaves the fields empty, without logging in.

Magento. How to fix customer login issue

Usually, this issue occurs if you are using Magento 1.8.0.x theme with Magento 1.8.1.x engine.

In order to fix this issue, please follow the steps below:

  1. You can use FTP client or File manager in cPanel to edit this file. Navigate to app/design/frontend/default/themeXXX/template/persistent/customer/form directory on your server.

  2. Find login.phtml file and open it in the Editor.

  3. You should insert this code:

    <input type="hidden" name="form_key" value="<? echo Mage::getSingleton('core/session')->getFormKey(); ?>" />

    inside of:

    <ul class="form-list">


  4. Save changes to the file.

  5. Clear Magento cache. Refresh your page with login form, now it works fine. Customers can log in without any problems.

Feel free to check the detailed video tutorial below:

Magento. How to fix customer login issue