Add logging
This commit is contained in:
parent
bb69819278
commit
22428a6fa9
@ -8,7 +8,9 @@ from drf_uuid_auth.settings import api_settings
|
|||||||
|
|
||||||
class UuidAuthentication(BaseAuthentication):
|
class UuidAuthentication(BaseAuthentication):
|
||||||
def authenticate(self, request):
|
def authenticate(self, request):
|
||||||
|
print(api_settings.AUTH_HEADER)
|
||||||
header = request.META.get(api_settings.AUTH_HEADER.upper(), None)
|
header = request.META.get(api_settings.AUTH_HEADER.upper(), None)
|
||||||
|
print(header)
|
||||||
if header is None or header == "" or header == "-":
|
if header is None or header == "" or header == "-":
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user