From 481971928c972a96a114b6dcf6480e48b530d95b Mon Sep 17 00:00:00 2001
From: Anton Ryzhov <anton@ryzhov.me>
Date: Thu, 28 Mar 2013 22:41:00 +0400
Subject: `failed_auth` data returned Manual updated

---
 sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sleekxmpp/features')

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
-- 
cgit v1.2.3