From 7e72cafacd1fd12217a734b0d86de983264924f3 Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 17 Aug 2015 12:18:13 -0300 Subject: [bug] add missing parameter to unauthorized error --- server/src/leap/soledad/server/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') 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: -- cgit v1.2.3