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