summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/crypto
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-11-14 14:28:52 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-11-14 14:28:52 -0300
commit46a9bcbc1242aacad1947087c2d30c7952872d7b (patch)
treef70c3fb19befea0a69e58bcc37bd167a2b1026d9 /src/leap/bitmask/crypto
parent836c556149cec70b8d9306e91ea9a39bc905806c (diff)
Set token to none in logout.
Diffstat (limited to 'src/leap/bitmask/crypto')
-rw-r--r--src/leap/bitmask/crypto/srpauth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/crypto/srpauth.py b/src/leap/bitmask/crypto/srpauth.py
index ab98850d..85b9b003 100644
--- a/src/leap/bitmask/crypto/srpauth.py
+++ b/src/leap/bitmask/crypto/srpauth.py
@@ -581,6 +581,7 @@ class SRPAuth(QtCore.QObject):
else:
self.set_session_id(None)
self.set_uid(None)
+ self.set_token(None)
# Also reset the session
self._session = self._fetcher.session()
logger.debug("Successfully logged out.")