Merge pull request #892 from dod-ccpo/fix-email-validation

Allow capital letters in email TLD
This commit is contained in:
richard-dds 2019-06-11 17:04:08 -04:00 committed by GitHub
commit ccf20fa875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ export default {
}, },
email: { email: {
mask: emailMask, mask: emailMask,
match: /^.+@[^.].*\.[a-z]{2,10}$/, match: /^.+@[^.].*\.[a-zA-Z]{2,10}$/,
unmask: [], unmask: [],
validationError: 'Please enter a valid e-mail address', validationError: 'Please enter a valid e-mail address',
}, },