summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-21 10:20:44 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-21 21:19:06 -0300
commitbdf3ee2957a3f2177911f2652626c52856ef9869 (patch)
tree1972071a62b708820676809acd907f640f49a7fa /src/leap/bitmask/services
parent8b19f78391ec575cbc9ee0d45bca9e00e141fe5d (diff)
Use DELETE /1/logout to properly logout
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
index a481df4e..2419fc0d 100644
--- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py
+++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
@@ -89,6 +89,9 @@ class SoledadBootstrapper(AbstractBootstrapper):
# retries
+ def cancel_bootstrap(self):
+ self._soledad_retries = self.MAX_INIT_RETRIES
+
def should_retry_initialization(self):
"""
Returns True if we should retry the initialization.