summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-11-12 11:49:11 +0900
committerkali <kali@leap.se>2012-11-12 11:49:11 +0900
commit13c4bd9087e4caaf9e440efa210d5762b8aca875 (patch)
tree5288889006fcd4556c9d6e582f770ca2ba4b6526 /src/leap
parent23c3aa67e3f109eb7d75a89caa34b90144f99efa (diff)
fix uri for sessions PUT
Diffstat (limited to 'src/leap')
-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: