Jump to content

CHANGE authentication.phpback to index.


Recommended Posts

Hi guys

 

I want to change authentication.php?back=my-account.php.

 

 

I need redirect a logged user to index.php. In other post, somebody wrote that changing AuthController.php this sentence:

 

if (self::$cookie->isLogged() AND !Tools::isSubmit('ajax'))

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

 

 

...I could do it. I changed it, but prestashop still goes to back=my-account.php when an user logged in.

 

Anybody can help me??

 

Thanks!!

 

Sharly

Edited by Sharly (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...