diff --git a/drf_uuid_auth/authentication.py b/drf_uuid_auth/authentication.py index d80313b..18d28a4 100644 --- a/drf_uuid_auth/authentication.py +++ b/drf_uuid_auth/authentication.py @@ -8,16 +8,12 @@ from drf_uuid_auth.settings import api_settings class UuidAuthentication(BaseAuthentication): def authenticate(self, request): - print(api_settings.AUTH_HEADER) - print(request.get_full_path(), request.META.get('REMOTE_ADDR', None)) header = request.META.get(api_settings.AUTH_HEADER.upper(), None) - print(header) if header is None or header == "" or header == "-": return None payload = header user = self.authenticate_credentials(payload) - print(user) return user, payload def authenticate_credentials(self, payload):