mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Fixed issue in mail verification
This commit is contained in:
parent
a5066ad8a5
commit
8d2e5dcb35
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user