From 30bfe14ccfa1525b3520d51060be97b9a18f8640 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Nov 2019 17:41:19 +0000 Subject: [PATCH] More debug --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 62feced5..285101a1 100644 --- a/daemon.py +++ b/daemon.py @@ -934,7 +934,7 @@ class PubServer(BaseHTTPRequestHandler): if self.path.endswith('/'+nickname): return True print('AUTH: nickname '+nickname+' did not match '+str(self.server.tokensLookup[tokenStr])) - print('AUTH: epicyon cookie authorization failed cookie='+self.headers['Cookie'].replace('epicyon=','')+' tokens='+str(self.server.tokensLookup)) + print('AUTH: epicyon cookie authorization failed, header='+self.headers['Cookie'].replace('epicyon=','')+' tokenStr='+tokenStr+' tokens='+str(self.server.tokensLookup)) print('AUTH: Header cookie was not authorized') return False # basic auth