Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegisterForm already used email address error #180

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

michalmasrna1
Copy link
Contributor

No description provided.

@michalmasrna1 michalmasrna1 linked an issue Nov 11, 2023 that may be closed by this pull request
onError: (error: AxiosError<RegisterErrorResponseData>) => {
if (error.response?.status === 400) {
if (error.response.data.email) {
setError('email', {type: 'custom', message: `* ${error.response.data.email[0]}`})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

``* A USER IS ALREADY REGISTERED WITH THIS E-MAIL ADDRESS.`

ale uz som sa dohodol s BE ze nam poslu slovensky message, takze je to v poriadku

@michalmasrna1 michalmasrna1 merged commit 1d47e19 into master Nov 11, 2023
1 check passed
@michalmasrna1 michalmasrna1 deleted the 167-registration-error-email-already-taken branch November 11, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chytiť error pri registrovaní s emailom čo už existuje
2 participants