When a customer tries to login to his account, it redirects right back to the login screen. The text on top changes to way "Welcome, ", but the customer can't actually see anything in his account.

Any reason this could be happening? I've cleared and restarted all caches quite a few times, but always with the same result.

  • Have you install any third party extension for the customer related functionality? Try to disable and check. Sep 25 '20 at 13:51
  • Trying that with Mageplaza Login for pricing
    – web master
    Sep 25 '20 at 14:22
  • clear the cookie in your browser for the specific site and try to login again . Alternatively open your website in different browser which you do not use before .. Sep 25 '20 at 15:34
  • Tried that. I both cleared the cookies, and tried multiple browsers. Same thing. Whatever the problem is, i'ts not coming from the "Login for pricing" plugin
    – web master
    Sep 25 '20 at 15:39
  • 1
    @sebastianT Thanks, changing the cookie lifetime. Do I need to set the cookie domain and/or path?
    – web master
    Sep 29 '20 at 14:25

Check your cookie lifetime in Store->Configuration->General->Web->Default cookie settings. By default you have 3600 (one hour). You can increase it to 86400(one day). Set Cookie Restriction Mode to no. HTTP Only to yes.

About domain and path. Here you have one helpful link : Helpful link, because i'm not an expert in cookies settings :D

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.