[-] BO : fix #PSCFV-4848
This commit is contained in:
@@ -44,7 +44,7 @@ class FavoriteproductsAccountModuleFrontController extends ModuleFrontController
|
|||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
if (!Context::getContext()->customer->isLogged())
|
if (!Context::getContext()->customer->isLogged())
|
||||||
Tools::redirect('index.php?controller=auth&redirect=module&module=favoriteproducts&action=account');
|
Tools::redirect('index.php?controller=authentication&redirect=module&module=favoriteproducts&action=account');
|
||||||
|
|
||||||
if (Context::getContext()->customer->id)
|
if (Context::getContext()->customer->id)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ class LoyaltyDefaultModuleFrontController extends ModuleFrontController
|
|||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
$this->auth = true;
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->context = Context::getContext();
|
$this->context = Context::getContext();
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class MailalertsAccountModuleFrontController extends ModuleFrontController
|
|||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
if (!Context::getContext()->customer->isLogged())
|
if (!Context::getContext()->customer->isLogged())
|
||||||
Tools::redirect('index.php?controller=auth&redirect=module&module=mailalerts&action=account');
|
Tools::redirect('index.php?controller=authentication&redirect=module&module=mailalerts&action=account');
|
||||||
|
|
||||||
if (Context::getContext()->customer->id)
|
if (Context::getContext()->customer->id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user