Jump to content

Welcome to your account page


Recommended Posts

After clicking the "Register" button, PrestaShop redirects to the page the customer was on previously that led to the authentication.php page. It is lines 125-126 of authentication.php that does this:

if ($back)
   Tools::redirect($back);



If there is no page to return to, then authentication.php is reloaded, then it redirects to my-account.php. It is lines 8-9 of authentication.php that do this:

if ($cookie->isLogged())
   Tools::redirect('my-account.php');

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...