Technical resource
Customer login form does not work after SUPEE-6788
Note: This is a historical reference, not a current security baseline. Magento 1 is end-of-life.
Problem description
After installing SUPEE-6788 or upgrade to Magento 1.9.2.2 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.Cause
SUPEE-6788 patch and Magento 1.9.2.2 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.Solution
- 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 @@+__('Personal Information') ?>
- 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
Comments
Archived discussion
This same thing happened to me after installing SUPEE-6788- 1.9.2.1, but the solutions didn’t work out.
First I went into:
app/design/frontend/base/default/template/persistent/customer/form/register.phtml
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 1.8.0.0, but I updated just about everything in Magento Connect to 1.9.2.2, and applied all the patches. Currently, the bottom of my user interface says “Magento ver. 1.9.1.0”.
What am I doing wrong here?