diff options
| -rw-r--r-- | changes/better_support_login_multiple_providers | 3 | ||||
| -rw-r--r-- | src/leap/bitmask/crypto/srpauth.py | 2 | 
2 files changed, 4 insertions, 1 deletions
| diff --git a/changes/better_support_login_multiple_providers b/changes/better_support_login_multiple_providers index c31d5931..149471d9 100644 --- a/changes/better_support_login_multiple_providers +++ b/changes/better_support_login_multiple_providers @@ -1,2 +1,3 @@    o Fixes a bug where you cannot login to a different provider once -    you logged in to another one.
\ No newline at end of file +    you logged in to another one. Fixes #3695. +  o Also resets the session for every login attempt. Related to #3695.
\ No newline at end of file diff --git a/src/leap/bitmask/crypto/srpauth.py b/src/leap/bitmask/crypto/srpauth.py index 42262610..cbff4b49 100644 --- a/src/leap/bitmask/crypto/srpauth.py +++ b/src/leap/bitmask/crypto/srpauth.py @@ -508,6 +508,8 @@ class SRPAuth(QtCore.QObject):              self._username = username              self._password = password +            self._session = self._fetcher.session() +              d = threads.deferToThread(self._authentication_preprocessing,                                        username=username,                                        password=password) | 
