From 842d90ba05248275d8459282a1c2a0f42abf3688 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Wed, 1 Feb 2017 12:24:39 +0100 Subject: [PATCH] change redirect to home when customer is logged --- override/controllers/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/override/controllers/AuthController.php b/override/controllers/AuthController.php index 4f8b13f6..3af28837 100755 --- a/override/controllers/AuthController.php +++ b/override/controllers/AuthController.php @@ -80,7 +80,7 @@ class AuthController extends AuthControllerCore { Module::hookExec('preprocess'); if(self::$cookie->isLogged() && !Tools::isSubmit('ajax')) { - Tools::redirect('my-account.php'); + Tools::redirect('/'); } if(Tools::getValue('create_account')) {