mirror of https://gitlab.com/bashrc2/epicyon
Show authorization
parent
68a1559881
commit
bbaa8ac841
11
daemon.py
11
daemon.py
|
@ -5786,12 +5786,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
|
||||
# check authorization
|
||||
authorized = self._isAuthorized()
|
||||
if self.server.debug:
|
||||
if authorized:
|
||||
print('POST Authorization granted')
|
||||
else:
|
||||
print('POST Not authorized')
|
||||
print(str(self.headers))
|
||||
if authorized:
|
||||
print('POST Authorization granted')
|
||||
else:
|
||||
print('POST Not authorized')
|
||||
print(str(self.headers))
|
||||
|
||||
# if this is a POST to the outbox then check authentication
|
||||
self.outboxAuthenticated = False
|
||||
|
|
Loading…
Reference in New Issue