mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-16 05:03:02 +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.username_required': () => <Message {...messages.usernameRequired} />,
|
||||||
'error.email_required': () => <Message {...messages.emailRequired} />,
|
'error.email_required': () => <Message {...messages.emailRequired} />,
|
||||||
'error.email_invalid': () => <Message {...messages.emailInvalid} />,
|
'error.email_invalid': () => <Message {...messages.emailInvalid} />,
|
||||||
|
'error.email_is_tempmail': () => <Message {...messages.emailIsTempmail} />,
|
||||||
|
|
||||||
'error.email_not_available': () => (
|
'error.email_not_available': () => (
|
||||||
<span>
|
<span>
|
||||||
|
@ -56,6 +56,11 @@ export default defineMessages({
|
|||||||
defaultMessage: 'Email is invalid'
|
defaultMessage: 'Email is invalid'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
emailIsTempmail: {
|
||||||
|
id: 'emailIsTempmail',
|
||||||
|
defaultMessage: 'Tempmail E-mail addresses is not allowed'
|
||||||
|
},
|
||||||
|
|
||||||
emailNotAvailable: {
|
emailNotAvailable: {
|
||||||
id: 'emailNotAvailable',
|
id: 'emailNotAvailable',
|
||||||
defaultMessage: 'This email is already registered.'
|
defaultMessage: 'This email is already registered.'
|
||||||
|
Loading…
Reference in New Issue
Block a user