Ensure default authzids are handled.
This commit is contained in:
parent
59ff08174f
commit
2324c90232
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue