email strtolower

This commit is contained in:
Michael RICOIS 2018-02-08 17:39:33 +01:00
parent ca461979c4
commit 20fd85c5fb

View File

@ -114,7 +114,7 @@ class AuthController extends AuthControllerCore
if (Tools::getValue('guest_email') !== false) {
$email = Tools::getValue('guest_email');
}
$email = trim($email);
$email = strtolower(trim($email));
/** @Override Antadis - mail fixing */
$email = str_replace(array('@hotmil.','@htmail.','@hotmal.','@hotml.','@hotmai.'),'@hotmail.', $email);