diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-05-05 14:59:55 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-05-05 14:59:55 -0300 |
commit | ebafb1199cb67bc5f4e1c2111473c6550a2ffa2d (patch) | |
tree | d0d88833f4c864eabe17f8cea7287b4038477b81 /service/pixelated | |
parent | 48a85e702a238c6fab4afe3104470c55d88c374a (diff) |
Register was still passing the leap provider instead of the api url for authentication
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/bitmask_libraries/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/bitmask_libraries/register.py b/service/pixelated/bitmask_libraries/register.py index d5cce0d8..2f40e898 100644 --- a/service/pixelated/bitmask_libraries/register.py +++ b/service/pixelated/bitmask_libraries/register.py @@ -28,7 +28,7 @@ def register_new_user(username, server_name): config = LeapConfig() provider = LeapProvider(server_name, config) password = getpass.getpass('Please enter password for %s: ' % username) - srp_auth = SRPAuth(provider, provider.local_ca_crt) + srp_auth = SRPAuth(provider.api_uri, provider.local_ca_crt) srp_auth.register(username, password) session = LeapSession.open(username, password, server_name) |