NOV 13 2015

Customer login form does not work after SUPEE-6788

Problem description

After installing SUPEE-6788 or upgrade to Magento customers can not login anymore. The login page is loaded correctly, however after filling in login name / email and password submitting the form does not result in success authorization. The page is just refreshed and login form is shown again.


SUPEE-6788 patch and Magento version added a new hidden field to the login form and your design theme overrides default form and have no such field in template/customer/form/register.phtml or template/persistent/customer/form/register.phtml in your theme.


  • update template/customer/form/register.phtml or template/persistent/customer/form/register.phtml in your theme with adding one line (highlighted in the diff below), just like the patch updated base/default theme:
    --- app/design/frontend/base/default/template/persistent/customer/form/register.phtml
    +++ app/design/frontend/base/default/template/persistent/customer/form/register.phtml
    @@ -42,6 +42,7 @@
             <div class="fieldset">
                 <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
                 <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
    +            <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
                 <h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
                 <ul class="form-list">
                     <li class="fields">
  • alternatively, delete template/customer/form/register.phtml or template/persistent/customer/form/register.phtml from your theme, in such case defaults from base theme will be used

Posted in: Troubleshooting

Customer login form does not work after SUPEE-6788
0 votes, 0.00 avg. rating (0% score)
  • Forrest Ward

    This same thing happened to me after installing SUPEE-6788-, but the solutions didn’t work out.

    First I went into:


    The highlighted field was already in the file, same thing with template/persistent/customer/register.phtml.

    Nothing to that I could add there.

    Next I went ahead and copied over the two register.phtml files to my local disk, and deleted them from the server. After flushing the cache, I tried again to no avail.

    The All-in-one Theme + Magento install I did came with, but I updated just about everything in Magento Connect to, and applied all the patches. Currently, the bottom of my user interface says “Magento ver.″.

    What am I doing wrong here?

    • Junior Aragão


    • mubasshir pawle

      How did you solve it? kindly post solution here so others can rectify it