Soften email requirements to allow simple local emails

Emails like user@host didn't pass this regexp.

Change-Id: I4e851b54f746e4d469fb0d5cfc2cb3879ce13016
This commit is contained in:
Yuriy Taraday 2015-12-14 14:19:02 +03:00
parent d8b6601bc0
commit 3eaa1cbd2a

View File

@ -28,7 +28,7 @@
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z\\d_\\.\\+-]+@([a-z\\d\\.-]+\\.)+(([a-z]+)|\\(none\\))$"
"pattern": "^[a-z\\d_\\.\\+-]+@([a-z\\d\\.-]+\\.)*(([a-z]+)|\\(none\\))$"
},
"minItems": 1
},