failed_auth
data returned
Manual updated
This commit is contained in:
parent
020197718f
commit
481971928c
@ -12,7 +12,7 @@ Event Index
|
|||||||
has not yet been established.
|
has not yet been established.
|
||||||
|
|
||||||
connection_failed
|
connection_failed
|
||||||
- **Data:** ``{}``
|
- **Data:** ``{}`` or ``Failure Stanza`` if available
|
||||||
- **Source:** :py:class:`~sleekxmpp.xmlstream.XMLstream`
|
- **Source:** :py:class:`~sleekxmpp.xmlstream.XMLstream`
|
||||||
|
|
||||||
Signal that a connection can not be established after number of attempts.
|
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."""
|
"""SASL authentication failed. Disconnect and shutdown."""
|
||||||
self.attempted_mechs.add(self.mech.name)
|
self.attempted_mechs.add(self.mech.name)
|
||||||
log.info("Authentication failed: %s", stanza['condition'])
|
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()
|
self._send_auth()
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user