Skip to content

Commit

Permalink
Disambiguate debug messages of auth backends
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane authored Aug 31, 2022
1 parent 4625db8 commit 2f5e5bb
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2f5e5bb

Please sign in to comment.