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); } /**