mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-16 02:08:59 +05:30
Добавлена защита от регистрации на сервисы 10-минутной почты
This commit is contained in:
parent
80956a840e
commit
4cc94d294a
@ -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>
|
||||
|
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user