diff options
| author | Tomás Touceda <chiiph@leap.se> | 2013-10-03 14:32:47 -0300 | 
|---|---|---|
| committer | Tomás Touceda <chiiph@leap.se> | 2013-10-03 15:16:27 -0300 | 
| commit | b6d7ffdb354ad4727f6a4dd158d439a2e768d68c (patch) | |
| tree | 95611e5f89f81495ca3f69b2323a2b650ada98e3 /src | |
| parent | 5e418935bdc5c64bc1cef8d5f440dc79cc6e2892 (diff) | |
Reset the session on every login attempt
Diffstat (limited to 'src')
| -rw-r--r-- | src/leap/bitmask/crypto/srpauth.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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) | 
