[-] FO : #PSTEST-742 - Bad ajax return on authentification with unknow email address
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13321 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
79611fef59
commit
20cfa8e266
1 file changed
+2
@@ -287,6 +287,8 @@ class AuthControllerCore extends FrontController
|
|||||||
$this->create_account = true;
|
$this->create_account = true;
|
||||||
$this->context->smarty->assign('email_create', Tools::safeOutput($email));
|
$this->context->smarty->assign('email_create', Tools::safeOutput($email));
|
||||||
$_POST['email'] = $email;
|
$_POST['email'] = $email;
|
||||||
|
if ($this->ajax)
|
||||||
|
$this->errors[] = Tools::displayError('Authentication failed');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('Authentication failed');
|
$this->errors[] = Tools::displayError('Authentication failed');
|
||||||
|
|||||||
Reference in new issue
Block a user