Skip to content

Add backend.user_can_authenticate() to allow for additional checks #254

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

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

lgarvey
Copy link
Contributor

@lgarvey lgarvey commented Mar 8, 2021

This is the same pattern used in django's auth backend - in fact, I just copied the method verbatim:

https://github.com/django/django/blob/master/django/contrib/auth/backends.py#L51-L57

NOTE: I can add a test if required.

This is the same pattern used in django's auth backend - in fact, I just copied the method verbatim:

https://github.com/django/django/blob/master/django/contrib/auth/backends.py#L51-L57
@peppelinux
Copy link
Member

I really like this feature, thank you.

Please take also a look to uniAuth project, I think that we could do something more together

@peppelinux
Copy link
Member

Please rebase to PR to the Dev branch, I'll merge It asap

@lgarvey lgarvey changed the base branch from master to dev March 9, 2021 09:44
@peppelinux peppelinux merged commit 5c52521 into IdentityPython:dev Mar 9, 2021
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.

2 participants