From 4803128b7ad946a92383dacdc873cdbdac2d61a3 Mon Sep 17 00:00:00 2001 From: jar3b Date: Fri, 6 Jul 2018 20:40:44 +0300 Subject: [PATCH] Debug removed --- drf_uuid_auth/authentication.py | 4 ---- 1 file changed, 4 deletions(-) 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):