diff --git a/modules/ant_support_form/support.php b/modules/ant_support_form/support.php index e4d353a8..23dcc4d8 100644 --- a/modules/ant_support_form/support.php +++ b/modules/ant_support_form/support.php @@ -63,7 +63,7 @@ if (Tools::isSubmit('submitMessage')) { $errors[] = Tools::displayError('Invalid'); } elseif ($mathCaptcha->check($captcha_ans) !== true) { - $errors[] = Tools::displayError('Invalid'); + $errors[] = Tools::displayError('For security reasons, thank you to solve the addition to validate the sending of your message'); } elseif (preg_match("/\p{Han}+/u", $message)) { $errors[] = Tools::displayError('Invalid message'); diff --git a/override/controllers/ContactController.php b/override/controllers/ContactController.php index 153b7dc1..81391438 100755 --- a/override/controllers/ContactController.php +++ b/override/controllers/ContactController.php @@ -66,7 +66,7 @@ class ContactController extends ContactControllerCore { $this->errors[] = Tools::displayError('Invalid'); } elseif ($mathCaptcha->check($captcha_ans) !== true) { - $this->errors[] = Tools::displayError('Invalid'); + $this->errors[] = Tools::displayError('For security reasons, thank you to solve the addition to validate the sending of your message'); } elseif (preg_match("/\p{Han}+/u", $message)) { $this->errors[] = Tools::displayError('Invalid message');