-
Notifications
You must be signed in to change notification settings - Fork 301
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
Registration with existing email address raises Integrity exception #552
Comments
I also encountered this error and it seems it's because in the registration serializer, the You can override the serializer:
and then add it in settings.py:
I think the default behaviour should be to only filter by email, and if a not verified email is used to register, just send a verification email. |
That is exactly the case. Thank you for providing a quick fix. I think we can probably call it a bug as the case of the email existing but is not verified should be gracefully handled instead of code breaking. |
Hi. Thanks for the great app!
It appears that the registration endpoint does not check for existing email address. The following exception is raised:
This can be fixed via altering the create endpoint like this.
Am I missing something or this is really an issue?
The text was updated successfully, but these errors were encountered: