summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/api.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-02-23 18:18:39 -0300
committerdrebs <drebs@leap.se>2017-02-23 18:18:39 -0300
commit2422561268aa0214d8521ef5d2f456318391711d (patch)
treecf7f9562185d8787bc23d04e81d613c08d19d42e /client/src/leap/soledad/client/api.py
parent459c5efd59e2ebaa21e5c461c275d866a43534e8 (diff)
[refactor] use get_token in client secrets api
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):
"""