X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=auth%2Fmanifoldbackend.py;h=73ba446a030e9cb8dc7c5b5d854e10290f370e43;hb=7002ccffe21d8f40bc0ad363c775dc9cdac7635b;hp=2b1bde59a93258b43d43a56582d7bc5944ee83f1;hpb=b984d442d926f3afb93bf4fd4adc8a90ec46b2a1;p=unfold.git diff --git a/auth/manifoldbackend.py b/auth/manifoldbackend.py index 2b1bde59..73ba446a 100644 --- a/auth/manifoldbackend.py +++ b/auth/manifoldbackend.py @@ -21,6 +21,7 @@ class ManifoldBackend: auth = {'AuthMethod': 'password', 'Username': username, 'AuthString': password} api = ManifoldAPI(auth) # Authenticate user and get session key + # the new API would expect Get('local:session') instead session_result = api.GetSession() session = session_result.ok_value() if not session: @@ -37,6 +38,7 @@ class ManifoldBackend: self.api = api # Get account details + # the new API would expect Get('local:user') instead persons_result = api.GetPersons(auth) persons = persons_result.ok_value() if not persons: