diff --git a/daemon.py b/daemon.py index 6f4cf0768..f93c3456e 100644 --- a/daemon.py +++ b/daemon.py @@ -5786,9 +5786,7 @@ class PubServer(BaseHTTPRequestHandler): # check authorization authorized = self._isAuthorized() - if authorized: - print('POST Authorization granted') - else: + if not authorized: print('POST Not authorized') print(str(self.headers))