From 2324c90232aa7815f130761f1215704b391415fb Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 2 Aug 2012 13:47:06 -0700 Subject: Ensure default authzids are handled. --- sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sleekxmpp/features') diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index b5554181..9a391628 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -94,6 +94,8 @@ class FeatureMechanisms(BasePlugin): result[value] = self.xmpp.boundjid.user elif value == 'password': result[value] = creds['password'] + elif value == 'authzid': + result[value] = creds.get('authzid', '') elif value == 'email': jid = self.xmpp.boundjid.bare result[value] = creds.get('email', jid) -- cgit v1.2.3