Reset attempted SASL mech set after no suitable mechs are found.

This commit is contained in:
Lance Stout 2012-04-11 12:53:22 -04:00
parent 4cd5d3b3b5
commit 4b2b2d16b8

View file

@ -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