diff options
author | kali <kali@leap.se> | 2012-11-12 11:49:11 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-12 11:49:11 +0900 |
commit | 13c4bd9087e4caaf9e440efa210d5762b8aca875 (patch) | |
tree | 5288889006fcd4556c9d6e582f770ca2ba4b6526 /src/leap/base | |
parent | 23c3aa67e3f109eb7d75a89caa34b90144f99efa (diff) |
fix uri for sessions PUT
Diffstat (limited to 'src/leap/base')
-rw-r--r-- | src/leap/base/auth.py | 3 |
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: |