forked from indymedia/epicyon
More exit points
parent
a0a158bf0b
commit
63d5d8ee5a
|
@ -933,8 +933,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return True
|
return True
|
||||||
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+' was not found in path '+self.path)
|
||||||
|
return False
|
||||||
print('AUTH: epicyon cookie authorization failed, header='+self.headers['Cookie'].replace('epicyon=','')+' tokenStr='+tokenStr+' tokens='+str(self.server.tokensLookup))
|
print('AUTH: epicyon cookie authorization failed, header='+self.headers['Cookie'].replace('epicyon=','')+' tokenStr='+tokenStr+' tokens='+str(self.server.tokensLookup))
|
||||||
|
return False
|
||||||
print('AUTH: Header cookie was not authorized')
|
print('AUTH: Header cookie was not authorized')
|
||||||
return False
|
return False
|
||||||
# basic auth
|
# basic auth
|
||||||
|
|
Loading…
Reference in New Issue