From 10330b390de4dfaf72853ecb4454bf4142415add Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 27 Sep 2016 22:04:41 -0300 Subject: [bug] stop syncing after logout (#8479) --- src/leap/bitmask/bonafide/service.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/leap/bitmask/bonafide') diff --git a/src/leap/bitmask/bonafide/service.py b/src/leap/bitmask/bonafide/service.py index 797e606..1f0d636 100644 --- a/src/leap/bitmask/bonafide/service.py +++ b/src/leap/bitmask/bonafide/service.py @@ -98,6 +98,9 @@ class BonafideService(HookableService): self._active_user = None return passthrough + data = dict(username=username) + self.trigger_hook('on_bonafide_logout', **data) + d = self._bonafide.do_logout(username) d.addCallback(reset_active) d.addCallback(lambda response: {'logout': 'ok'}) -- cgit v1.2.3