diff --git a/pymanager/manager.py b/pymanager/manager.py index 07c0c62..3392f8e 100755 --- a/pymanager/manager.py +++ b/pymanager/manager.py @@ -394,8 +394,8 @@ class ManageHttpRequest(http.server.SimpleHTTPRequestHandler): """ logging.debug('post recieved : %s' % self.path) if not self.check_authentication(): - self.send_error(400, 'Bad authentication') - logging.error("Bad authentication") + self.send_error(403, 'Wrong authentication') + logging.error("Wrong authentication") elif self.path == '/START': self._send_command("START") elif self.path == '/STOP':