From fdc05e987a4d8d71254701d8d0ed1b6350768d0d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 23 Nov 2020 09:41:54 +0000 Subject: [PATCH] Comments --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 96b34b5d..111e2908 100644 --- a/daemon.py +++ b/daemon.py @@ -1145,13 +1145,13 @@ class PubServer(BaseHTTPRequestHandler): return False print('AUTH: Header cookie was not authorized') return False - # basic auth + # basic auth for c2s if self.headers.get('Authorization'): if authorize(self.server.baseDir, self.path, self.headers['Authorization'], self.server.debug): return True - print('AUTH: Basic auth did not authorize ' + + print('AUTH: C2S Basic auth did not authorize ' + self.headers['Authorization']) return False