Добавлена защита от регистрации на сервисы 10-минутной почты

This commit is contained in:
ErickSkrauch 2016-05-01 19:43:28 +03:00
parent 80956a840e
commit 4cc94d294a
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ export default class AuthError extends Component {
'error.username_required': () => <Message {...messages.usernameRequired} />,
'error.email_required': () => <Message {...messages.emailRequired} />,
'error.email_invalid': () => <Message {...messages.emailInvalid} />,
'error.email_is_tempmail': () => <Message {...messages.emailIsTempmail} />,
'error.email_not_available': () => (
<span>

View File

@ -56,6 +56,11 @@ export default defineMessages({
defaultMessage: 'Email is invalid'
},
emailIsTempmail: {
id: 'emailIsTempmail',
defaultMessage: 'Tempmail E-mail addresses is not allowed'
},
emailNotAvailable: {
id: 'emailNotAvailable',
defaultMessage: 'This email is already registered.'