Merge branch 'ticket-12417-RedirectLogged'
This commit is contained in:
commit
3bc8d1f584
@ -80,7 +80,7 @@ class AuthController extends AuthControllerCore {
|
|||||||
Module::hookExec('preprocess');
|
Module::hookExec('preprocess');
|
||||||
|
|
||||||
if(self::$cookie->isLogged() && !Tools::isSubmit('ajax')) {
|
if(self::$cookie->isLogged() && !Tools::isSubmit('ajax')) {
|
||||||
Tools::redirect('my-account.php');
|
Tools::redirect('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Tools::getValue('create_account')) {
|
if(Tools::getValue('create_account')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user