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

1 Answer 1

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.

7
  • I am using default magento tempalte not the customized
    – Xabby
    Commented Jul 13, 2016 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
    Commented Jul 13, 2016 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. Commented Jul 13, 2016 at 17:19
  • where i can edit my form to add that code? @Lord Skeletor
    – Xabby
    Commented Jul 13, 2016 at 17:23
  • See updated answer. Commented Jul 13, 2016 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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