diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-10-12 13:58:02 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-10-12 13:58:02 +0200 |
commit | 87892a34544c3fee446288e0d52f30c774187bc7 (patch) | |
tree | 2c8d217aa9f69522abda0b79298a4e2009bf5b57 /service/pixelated/bitmask_libraries | |
parent | 048418454631066426e53078740c009e729fd8ae (diff) |
Move SOLEDAD_INVALID_AUTH_TOKEN listner to outermost user agent start
- Issue #485
- Problem was that register starts ZMQ without a session every time
soledad is used
- This reverts commit 36b9261f609901b83da4f8915640eb6043530f01
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r-- | service/pixelated/bitmask_libraries/soledad.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/service/pixelated/bitmask_libraries/soledad.py b/service/pixelated/bitmask_libraries/soledad.py index 84f9c3a3..0546a158 100644 --- a/service/pixelated/bitmask_libraries/soledad.py +++ b/service/pixelated/bitmask_libraries/soledad.py @@ -16,11 +16,6 @@ import errno import os -from twisted.internet import reactor -from leap.common.events import ( - register, - catalog as events -) from leap.soledad.client import Soledad from leap.soledad.common.crypto import WrongMacError, UnknownMacMethodError from pixelated.bitmask_libraries.certs import LeapCertificate @@ -47,7 +42,6 @@ class SoledadSessionFactory(object): class SoledadSession(object): def __init__(self, provider, encryption_passphrase, user_token, user_uuid): - register(events.SOLEDAD_INVALID_AUTH_TOKEN, lambda _: reactor.stop()) self.provider = provider self.config = provider.config self.user_uuid = user_uuid |