diff --git a/drf_uuid_auth/authentication.py b/drf_uuid_auth/authentication.py index 28d4aa0..660f304 100644 --- a/drf_uuid_auth/authentication.py +++ b/drf_uuid_auth/authentication.py @@ -8,7 +8,9 @@ from drf_uuid_auth.settings import api_settings class UuidAuthentication(BaseAuthentication): def authenticate(self, request): + print(api_settings.AUTH_HEADER) header = request.META.get(api_settings.AUTH_HEADER.upper(), None) + print(header) if header is None or header == "" or header == "-": return None