CS
This commit is contained in:
parent
b67de1c311
commit
0d6e609448
@ -218,6 +218,7 @@ class AuthController extends AuthControllerCore
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sizeof($this->errors)) {
|
if (sizeof($this->errors)) {
|
||||||
if(!Tools::getValue('is_new_customer')) {
|
if(!Tools::getValue('is_new_customer')) {
|
||||||
unset($_POST['passwd']);
|
unset($_POST['passwd']);
|
||||||
@ -339,14 +340,16 @@ class AuthController extends AuthControllerCore
|
|||||||
self::$smarty->assign('newsletter', (int)Module::getInstanceByName('blocknewsletter')->active);
|
self::$smarty->assign('newsletter', (int)Module::getInstanceByName('blocknewsletter')->active);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function displayContent() {
|
public function displayContent()
|
||||||
|
{
|
||||||
Tools::safePostVars();
|
Tools::safePostVars();
|
||||||
self::$smarty->assign('errors', $this->errors);
|
self::$smarty->assign('errors', $this->errors);
|
||||||
self::$smarty->assign('HOOK_CREATE_ACCOUNT_FORM_BOTTOM', Module::hookExec('createAccountFormBottom', array()));
|
self::$smarty->assign('HOOK_CREATE_ACCOUNT_FORM_BOTTOM', Module::hookExec('createAccountFormBottom', array()));
|
||||||
self::$smarty->display(_PS_THEME_DIR_.'authentication.tpl');
|
self::$smarty->display(_PS_THEME_DIR_.'authentication.tpl');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setMedia() {
|
public function setMedia()
|
||||||
|
{
|
||||||
parent::setMedia();
|
parent::setMedia();
|
||||||
|
|
||||||
global $css_files;
|
global $css_files;
|
||||||
|
Loading…
Reference in New Issue
Block a user