diff options
Diffstat (limited to 'sleekxmpp/features/feature_mechanisms/mechanisms.py')
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index 2b8321c2..deff5d30 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -39,6 +39,8 @@ class feature_mechanisms(base_plugin): values['username'] = self.xmpp.boundjid.user if 'password' in values: values['password'] = self.xmpp.password + if 'access_token' in values: + values['access_token'] = self.xmpp.password mech.fulfill(values) sasl_callback = self.config.get('sasl_callback', None) |