summaryrefslogtreecommitdiff
path: root/src/leap/base/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/base/auth.py')
-rw-r--r--src/leap/base/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/base/auth.py b/src/leap/base/auth.py
index 58ae9d69..50533278 100644
--- a/src/leap/base/auth.py
+++ b/src/leap/base/auth.py
@@ -194,7 +194,8 @@ class SRPAuth(requests.auth.AuthBase):
def get_server_proof_data(self):
try:
auth_result = self.session.put(
- self.server + '/1/sessions.json/' + self.username,
+ #self.server + '/1/sessions.json/' + self.username,
+ self.server + '/1/sessions/' + self.username,
data={'client_auth': binascii.hexlify(self.M)},
verify=self.verify)
except requests.exceptions.ConnectionError: