More debug

main
Bob Mottram 2019-11-26 17:41:19 +00:00
parent 85f3f2313b
commit 30bfe14ccf
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ class PubServer(BaseHTTPRequestHandler):
if self.path.endswith('/'+nickname): if self.path.endswith('/'+nickname):
return True return True
print('AUTH: nickname '+nickname+' did not match '+str(self.server.tokensLookup[tokenStr])) 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') print('AUTH: Header cookie was not authorized')
return False return False
# basic auth # basic auth