From 2f5e5bb30b1526f58dec9325f9316e45f32d4361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Wed, 31 Aug 2022 16:28:02 +0200 Subject: [PATCH] Disambiguate debug messages of auth backends --- django_auth_adfs/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_auth_adfs/backend.py b/django_auth_adfs/backend.py index 3f7c660..002aacf 100644 --- a/django_auth_adfs/backend.py +++ b/django_auth_adfs/backend.py @@ -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()