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

Disambiguate debug messages of auth backends #254

Merged
merged 2 commits into from
Sep 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django_auth_adfs/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def authenticate(self, request=None, access_token=None, **kwargs):

# If there's no token or code, we pass control to the next authentication backend
if access_token is None or access_token == '':
logger.debug("django_auth_adfs authentication backend was called but no authorization code was received")
logger.debug("django_auth_adfs authentication backend was called but no access token was received")
return

access_token = access_token.decode()
Expand Down