From 8d2e5dcb356160bbf3bbdc1175a92dd2ac31bafd Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 23 Feb 2018 11:41:32 +0100 Subject: [PATCH] Fixed issue in mail verification --- assets/js/common/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/common/utils.js b/assets/js/common/utils.js index b2706fc7..85c8eb9d 100644 --- a/assets/js/common/utils.js +++ b/assets/js/common/utils.js @@ -177,7 +177,7 @@ function clearObject(object){ * @return {Boolean} True for a valid email address / false else */ function checkMail(emailAddress){ - return (emailAddress.match(/^[a-zA-Z0-9_.]+@[a-zA-Z0-9-]{1,}[.][a-zA-Z]{2,5}$/) === null ? false : true); + return (emailAddress.match(/^[a-zA-Z0-9_.]+@[a-zA-Z0-9-.]{1,}[.][a-zA-Z]{2,5}$/) === null ? false : true); } /**