// Retro-compatibility fix of front controllers
This commit is contained in:
@@ -77,6 +77,8 @@ class AuthControllerCore extends FrontController
|
||||
*/
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
$this->context->smarty->assign('genders', Gender::getGenders());
|
||||
|
||||
$this->assignDate();
|
||||
@@ -146,7 +148,6 @@ class AuthControllerCore extends FrontController
|
||||
die(Tools::jsonEncode($return));
|
||||
}
|
||||
$this->setTemplate(_PS_THEME_DIR_.'authentication.tpl');
|
||||
parent::initContent();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user