summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/leap/soledad/server/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/leap/soledad/server/auth.py b/server/src/leap/soledad/server/auth.py
index 7af4e54b..425758f5 100644
--- a/server/src/leap/soledad/server/auth.py
+++ b/server/src/leap/soledad/server/auth.py
@@ -264,7 +264,8 @@ class SoledadAuthMiddleware(object):
scheme, encoded = auth.split(None, 1)
uuid, auth_data = encoded.decode('base64').split(':', 1)
if not self._verify_authentication_scheme(scheme):
- return self._unauthorized_error("Wrong authentication scheme")
+ return self._unauthorized_error(
+ start_response, "Wrong authentication scheme")
# verify if user is athenticated
try: