diff options
author | drebs <drebs@leap.se> | 2015-08-17 12:18:13 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-08-17 12:18:13 -0300 |
commit | 7e72cafacd1fd12217a734b0d86de983264924f3 (patch) | |
tree | 1bc9313b8385f28ccd42ba1fdfbbb367175f3830 /server | |
parent | ffde23f71594cec5775a1579cdc0ee4b019fbf6d (diff) |
[bug] add missing parameter to unauthorized error
Diffstat (limited to 'server')
-rw-r--r-- | server/src/leap/soledad/server/auth.py | 3 |
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: |