failed_auth
data returned
Manual updated
This commit is contained in:
parent
020197718f
commit
481971928c
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ Event Index
|
|||
has not yet been established.
|
||||
|
||||
connection_failed
|
||||
- **Data:** ``{}``
|
||||
- **Data:** ``{}`` or ``Failure Stanza`` if available
|
||||
- **Source:** :py:class:`~sleekxmpp.xmlstream.XMLstream`
|
||||
|
||||
Signal that a connection can not be established after number of attempts.
|
||||
|
|
|
@ -235,6 +235,6 @@ class FeatureMechanisms(BasePlugin):
|
|||
"""SASL authentication failed. Disconnect and shutdown."""
|
||||
self.attempted_mechs.add(self.mech.name)
|
||||
log.info("Authentication failed: %s", stanza['condition'])
|
||||
self.xmpp.event("failed_auth", direct=True)
|
||||
self.xmpp.event("failed_auth", stanza, direct=True)
|
||||
self._send_auth()
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue