summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad/client/api.py')
-rw-r--r--client/src/leap/soledad/client/api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 6a508d05..e84ba848 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -249,10 +249,9 @@ class Soledad(object):
"""
Initialize Soledad secrets.
"""
- creds = {'token': {'uuid': self.uuid, 'token': self.token}}
self._secrets = Secrets(
self._uuid, self._passphrase, self._server_url, self._secrets_path,
- creds, self.userid, shared_db=shared_db)
+ self.get_token, self.userid, shared_db=shared_db)
def _init_u1db_sqlcipher_backend(self):
"""