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

authenticate passing the current request to the backends that need it #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nschlemm
Copy link
Contributor

e.g. https://django-axes.readthedocs.io/en/latest/3_usage.html#authenticating-users

Otherwise that will fail with AxesBackendRequestParameterRequired('AxesBackend requires a request as an argument to authenticate')

@nschlemm
Copy link
Contributor Author

@danfairs can you please give me feedback on this PR? thx!

@danfairs
Copy link
Owner

Looks fine, could you add a quick test to make sure that the request is being passed please? (Also, can I confirm that the tests don't pass with this change and the messages app added? I'm afraid I don't have a dev env right now to check it myself). Thanks!

@bittner
Copy link

bittner commented Jan 25, 2023

Just a heads-up: The changes in this PR are partly covered by #67, which was merged in the meantime.

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.

None yet

3 participants