From 64d824504e5d5153d1ffa8973893b431448ba15e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Nov 2019 17:23:34 +0000 Subject: [PATCH] Extra debug --- daemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index f1650ff3..5d83c40f 100644 --- a/daemon.py +++ b/daemon.py @@ -931,8 +931,8 @@ class PubServer(BaseHTTPRequestHandler): return True if self.path.endswith('/'+nickname): return True - print('AUTH: nickname '+nickname+' did not match') - print('AUTH: epicyon cookie authorization failed') + print('AUTH: nickname '+nickname+' did not match '+str(self.server.tokensLookup[tokenStr])) + print('AUTH: epicyon cookie authorization failed '+self.headers['Cookie']) print('AUTH: Header cookie was not authorized') return False # basic auth @@ -941,7 +941,7 @@ class PubServer(BaseHTTPRequestHandler): self.headers['Authorization'], \ self.server.debug): return True - print('AUTH: Basic auth did not authorize') + print('AUTH: Basic auth did not authorize '+self.headers['Authorization']) return False def _clearLoginDetails(self,nickname: str):