summaryrefslogtreecommitdiffstats
path: root/module/remote/wsbackend/ApiHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/wsbackend/ApiHandler.py')
-rw-r--r--module/remote/wsbackend/ApiHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/wsbackend/ApiHandler.py b/module/remote/wsbackend/ApiHandler.py
index e8ba80982..52dd05b9f 100644
--- a/module/remote/wsbackend/ApiHandler.py
+++ b/module/remote/wsbackend/ApiHandler.py
@@ -59,7 +59,7 @@ class ApiHandler(AbstractHandler):
return self.send_result(req, self.OK, True)
else:
- return self.send_result(req, self.FORBIDDEN, "Forbidden")
+ return self.send_result(req, self.OK, False)
elif func == 'logout':
req.api = None