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

The following line is not user-email-field agnostic. #624

Open
RyanFleck opened this issue Jul 31, 2020 · 0 comments
Open

The following line is not user-email-field agnostic. #624

RyanFleck opened this issue Jul 31, 2020 · 0 comments

Comments

@RyanFleck
Copy link

RyanFleck commented Jul 31, 2020

I'd be happy to put in a PR to fix this issue, but I noticed that this line in the library requires the entire validate method to be overridden if the user model has a custom email field.

email_address = user.emailaddress_set.get(email=user.email)

Perhaps you could take a note from AllAuth's playbook and implement a django setting to make your library easier to use with customized models?

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

No branches or pull requests

1 participant