diff options
author | Anton Ryzhov <anton@ryzhov.me> | 2013-03-28 22:41:00 +0400 |
---|---|---|
committer | Anton Ryzhov <anton@ryzhov.me> | 2013-03-28 22:41:00 +0400 |
commit | 481971928c972a96a114b6dcf6480e48b530d95b (patch) | |
tree | 087efc13f84b19e4c0b6820f7956eeac0fd3784c | |
parent | 020197718f81937a755f1ca1f1126fc1e15dbd72 (diff) | |
download | slixmpp-481971928c972a96a114b6dcf6480e48b530d95b.tar.gz slixmpp-481971928c972a96a114b6dcf6480e48b530d95b.tar.bz2 slixmpp-481971928c972a96a114b6dcf6480e48b530d95b.tar.xz slixmpp-481971928c972a96a114b6dcf6480e48b530d95b.zip |
`failed_auth` data returned
Manual updated
-rw-r--r-- | docs/event_index.rst | 2 | ||||
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/event_index.rst b/docs/event_index.rst index 1257fcd1..ee8f5a95 100644 --- a/docs/event_index.rst +++ b/docs/event_index.rst @@ -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. diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index 2ed3e00b..58ed9b91 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -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 |