FIX: EmailValidator needs to validate format of email.

This commit is contained in:
Guo Xiang Tan
2020-06-03 10:13:25 +08:00
parent 1b5a505930
commit 062db10c52
7 changed files with 24 additions and 11 deletions

View File

@@ -2451,6 +2451,7 @@ en:
must_not_contain_two_special_chars_in_seq: "must not contain a sequence of 2 or more special chars (.-_)"
must_not_end_with_confusing_suffix: "must not end with a confusing suffix like .json or .png etc."
email:
invalid: "is invalid."
not_allowed: "is not allowed from that email provider. Please use another email address."
blocked: "is not allowed."
revoked: "Won't be sending emails to '%{email}' until %{date}."