summaryrefslogtreecommitdiff
path: root/service/pixelated/config
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-10-28 17:18:59 +0200
committerNavaL <ayoyo@thoughtworks.com>2016-10-28 18:05:39 +0200
commit9209525c5e88e4314711359b4e9fa42d6958403d (patch)
treea630187bac51920c4214247772fd5bad67980825 /service/pixelated/config
parent701d2baa3a2e923e1718ef5b9cacc78713cb9649 (diff)
removing obsolete Leap_password_checker #795
Diffstat (limited to 'service/pixelated/config')
-rw-r--r--service/pixelated/config/leap.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py
index 0c43fd85..4e9d8394 100644
--- a/service/pixelated/config/leap.py
+++ b/service/pixelated/config/leap.py
@@ -62,17 +62,8 @@ def initialize_leap_single_user(leap_provider_cert,
defer.returnValue(leap_session)
-@defer.inlineCallbacks
-def authenticate(provider, user, password):
- srp_provider = Api(provider.api_uri)
- credentials = Credentials(user, password)
- srp_auth = Session(credentials, srp_provider, provider.local_ca_crt)
- yield srp_auth.authenticate()
- defer.returnValue(Authentication(user, srp_auth.token, srp_auth.uuid, 'session_id', {'is_admin': False}))
-
-
def init_monkeypatches():
- pass
+ import pixelated.extensions.requests_urllib3
class BootstrapUserServices(object):