Magento 1.x – Cannot login / Cannot create account on frontend


If you are getting redirected to the same page when you try to login on frontend, or if you are creating a new account, it might be regarding a new theme installation or maybe because of some changes on the used phtmls, it could also accour when you upgrade from Magento 1.9.1.1 to 1.9.2.x.

It happens because the templates do not have the corresponding form-key to prevent malicious requests.

Luckily, we have an easy fix for that, we need to find the following templates:

And double check that they have the corresponding form-key call below the <form> tag: