Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Un sleep inutile
// Prestashop 1.5.2, controllers/front/AuthController.php, line 278
$customer = new Customer();
$authentication = $customer->getByEmail(trim($email), trim($passwd));
if (!$authentication || !$customer->id)
// Handle brute force attacks
$this->errors[] = Tools::displayError('Authentication failed');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment