Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
Christophe Latour 2017-11-21 17:38:52 +01:00
commit 6e391cbeee

View File

@ -109,6 +109,13 @@ class AuthController extends AuthControllerCore {
} }
$_POST['email'] = trim($_POST['email']); $_POST['email'] = trim($_POST['email']);
/** @Override Antadis - mail fixing */
$_POST['email'] = str_replace(array('@hotmil.','@htmail.','@hotmal.','@hotml.','@hotmai.'),'@hotmail.',$_POST['email']);
$_POST['email'] = str_replace(array('@gmal.','@gail.','@gml.','@gmai.','@gmil.'),'@gmail.',$_POST['email']);
$_POST['email'] = str_replace('@gmailcom','@gmail.com',$_POST['email']);
$_POST['email'] = str_replace('@hotmailcom','@hotmail.com',$_POST['email']);
$_POST['email'] = str_replace('@hotmailfr','@hotmail.fr',$_POST['email']);
/** @End Override Antadis - mail fixing */
/* Preparing customer */ /* Preparing customer */
$customer = new Customer(); $customer = new Customer();