Jump to content

[SOLVED] Redirect to home on log in


Recommended Posts

I would modify the authcontroller!

I think it can be enough to modify everyone of these entries:

Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? url_encode($this->authRedirection) : 'my-account'));

To

Tools::redirect('index.php');

Haven't tested it but it should work!

  • Like 3
Link to comment
Share on other sites

  • 4 months later...

Neither.

 

Although, the string you mentioned in post #2:

Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? url_encode($this->authRedirection) : 'my-account'));

is not present "as is" in 1.5.3.1 and I had to improvise a little. Maybe I missed something.

 

I'm attaching the unmodified v1.5.3.1 AuthController.php, in case it helps:

 

AuthController.zip

Link to comment
Share on other sites

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...