Merge pull request #892 from dod-ccpo/fix-email-validation
Allow capital letters in email TLD
This commit is contained in:
commit
ccf20fa875
@ -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',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user