// Do not redirect to account creation when email does not exist
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17923 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -280,17 +280,7 @@ class AuthControllerCore extends FrontController
|
||||
{
|
||||
// Handle brute force attacks
|
||||
sleep(1);
|
||||
|
||||
if (!Customer::customerExists($email))
|
||||
{
|
||||
$this->create_account = true;
|
||||
$this->context->smarty->assign('email_create', Tools::safeOutput($email));
|
||||
$_POST['email'] = $email;
|
||||
if ($this->ajax)
|
||||
$this->errors[] = Tools::displayError('Authentication failed');
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('Authentication failed');
|
||||
$this->errors[] = Tools::displayError('Authentication failed');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user