diff options
Diffstat (limited to 'service/pixelated/config/leap.py')
-rw-r--r-- | service/pixelated/config/leap.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py index dd475629..a8666086 100644 --- a/service/pixelated/config/leap.py +++ b/service/pixelated/config/leap.py @@ -40,9 +40,8 @@ def initialize_leap_multi_user(provider_hostname, @defer.inlineCallbacks -def authenticate_user(provider, username, password, initial_sync=True): - leap_session = LeapSessionFactory(provider).create(username, password) - +def authenticate_user(provider, username, password, initial_sync=True, auth=None): + leap_session = LeapSessionFactory(provider).create(username, password, auth) if initial_sync: yield leap_session.initial_sync() |