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

Support case when user e-mail is not unique #82

Closed
apragacz opened this issue Sep 30, 2019 · 0 comments
Closed

Support case when user e-mail is not unique #82

apragacz opened this issue Sep 30, 2019 · 0 comments
Labels

Comments

@apragacz
Copy link
Owner

apragacz commented Sep 30, 2019

or at least inform library user about that, for instance show at least a Django system check error.

This is actually a default setting in django.contrib.auth.models.User - the email field is NOT unique.

The current state of Django-REST-Registration wouldn't lead to any security issues AFAIK, but it may lead to various errors like:

  • Not all users receiving (or even all users not receiving) an e-mail when reset password is made.
  • Users unable to login via e-mail if it is added to the 'LOGIN_FIELDS' setting key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant