summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sleekxmpp/features/feature_mechanisms/mechanisms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py
index 6f01cb14..b7af81d0 100644
--- a/sleekxmpp/features/feature_mechanisms/mechanisms.py
+++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py
@@ -134,6 +134,7 @@ class FeatureMechanisms(BasePlugin):
else:
log.error("No appropriate login method.")
self.xmpp.event("no_auth", direct=True)
+ self.attempted_mechs = set()
self.xmpp.disconnect()
return True