summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/crypto/srpauth.py2
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)