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

Update AuthenticationBackend signature #581

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

aminalaee
Copy link
Owner

As suggested here #440 (comment) by @NikitaZakharov

The current signature can implicitly lead to the authenticate method to returning None and all requests will be validated, this will enforce it to return a Response object or a boolean for this method.
Otherwise the requests are sent to the admin:login

@aminalaee aminalaee force-pushed the update-authentication-signature branch from 8359ce5 to c0be43a Compare August 21, 2023 07:50
@aminalaee aminalaee merged commit f563e58 into main Aug 21, 2023
6 checks passed
@aminalaee aminalaee deleted the update-authentication-signature branch August 21, 2023 08:08
@aminalaee aminalaee mentioned this pull request Sep 19, 2023
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

1 participant