diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/soledad/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/auth.py b/src/leap/soledad/auth.py index 080bb806..a099c1a6 100644 --- a/src/leap/soledad/auth.py +++ b/src/leap/soledad/auth.py @@ -53,6 +53,6 @@ def _sign_request(self, method, url_query, params): if 'token' in self._creds: uuid, token = self._creds['token'] auth = '%s:%s' % (uuid, token) - return [('Authorization', 'Token %s' % auth.encode('base64'))] + return [('Authorization', 'Token %s' % auth.encode('base64')[:-1])] else: return HTTPClientBase._sign_request(self, method, url_query, params) |