Reset attempted SASL mech set after no suitable mechs are found.
This commit is contained in:
parent
4cd5d3b3b5
commit
4b2b2d16b8
@ -134,6 +134,7 @@ class FeatureMechanisms(BasePlugin):
|
|||||||
else:
|
else:
|
||||||
log.error("No appropriate login method.")
|
log.error("No appropriate login method.")
|
||||||
self.xmpp.event("no_auth", direct=True)
|
self.xmpp.event("no_auth", direct=True)
|
||||||
|
self.attempted_mechs = set()
|
||||||
self.xmpp.disconnect()
|
self.xmpp.disconnect()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user