diff --git a/public/js/910-vimbadmin.functions.js b/public/js/910-vimbadmin.functions.js index 5b2f341..00626cc 100644 --- a/public/js/910-vimbadmin.functions.js +++ b/public/js/910-vimbadmin.functions.js @@ -221,7 +221,7 @@ */ function isValidEmail( str ) { - return /^([A-Za-z0-9_\-\+\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test( str ); + return /^([A-Za-z0-9_\-\+\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/.test( str ); } @@ -233,5 +233,5 @@ */ function isValidEmailDomain( str ) { - return /^([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test( str ); + return /^([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/.test( str ); }