diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-05-11 11:49:17 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-05-11 11:49:17 -0300 |
commit | 8781a893aeaa62286633021e9d3eb8502bd129ee (patch) | |
tree | fc354865e9ef1118a27caaf56617eb4c6f904b41 /src/leap/crypto/srpauth.py | |
parent | 425040062e3cfac01e1a627598ef7394596b0abc (diff) |
Support requests<1.0.0 for the token saving too
Diffstat (limited to 'src/leap/crypto/srpauth.py')
-rw-r--r-- | src/leap/crypto/srpauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py index dbaac01b..ce6c28f4 100644 --- a/src/leap/crypto/srpauth.py +++ b/src/leap/crypto/srpauth.py @@ -251,7 +251,7 @@ class SRPAuth(QtCore.QObject): json_content = json.loads(content) M2 = json_content.get("M2", None) uid = json_content.get("id", None) - token = auth_result.json().get("token", None) + token = json_content.get("token", None) events_signal(proto.CLIENT_UID, content=uid) |