From 5115371bacf84a6c537764a2be47ef2f627ef5ec Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 11 Apr 2018 08:52:40 +0200 Subject: [PATCH] Fix issue on email address check --- 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 36e87958..ecb54b40 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,8}$/) === null ? false : true); } /**