Extra debug

merge-requests/6/head
Bob Mottram 2019-11-26 17:27:47 +00:00
parent 64d824504e
commit ed476f6726
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,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 '+self.headers['Cookie'])
print('AUTH: epicyon cookie authorization failed cookie='+self.headers['Cookie'].replace('epicyon=','')+' tokens='+str(self.server.tokensLookup))
print('AUTH: Header cookie was not authorized')
return False
# basic auth