0

I have register and login links on my website. Register is working fine but when i tried to login it again come back to the login screen with out any error message.

I have tried to re-write the htaccess for my site but still the same issue.

Any help Will Be appreciated:

Here is the link:

https://www.dauerusa.com/customer/account/login/

Thanks

0

Customized template? I guess you are missing form_key field. Add <?php echo $this->getBlockHtml('formkey'); ?> just below your <form> opening tag.

You can read more about form_key here: https://magento.stackexchange.com/a/43963/208

EDIT:

Template file is located in app\design\frontend\[PACKAGE]\[THEME]\template\persistent\customer\form\login.phtml or app\design\frontend\[PACKAGE]\[THEME]\template\customer\form\login.phtml depending on your configuration.

  • I am using default magento tempalte not the customized – Xabby Jul 13 '16 at 17:15
  • Its auto logged me in when i register a new account but not working when i direct login through login form Here dauerusa.com/customer/account/login – Xabby Jul 13 '16 at 17:18
  • Then it's probably issue in the Shopper theme you are using. If you inspect the page source you will see that form_key field is missing. – Lord Skeletor Jul 13 '16 at 17:19
  • where i can edit my form to add that code? @Lord Skeletor – Xabby Jul 13 '16 at 17:23
  • See updated answer. – Lord Skeletor Jul 13 '16 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.