Changed failed_auth
event according to manual
This commit is contained in:
parent
c0d02d9935
commit
620ee9719f
@ -234,6 +234,6 @@ class FeatureMechanisms(BasePlugin):
|
|||||||
"""SASL authentication failed. Disconnect and shutdown."""
|
"""SASL authentication failed. Disconnect and shutdown."""
|
||||||
self.attempted_mechs.add(self.mech.name)
|
self.attempted_mechs.add(self.mech.name)
|
||||||
log.info("Authentication failed: %s", stanza['condition'])
|
log.info("Authentication failed: %s", stanza['condition'])
|
||||||
self.xmpp.event("failed_auth", stanza, direct=True)
|
self.xmpp.event("failed_auth", direct=True)
|
||||||
self._send_auth()
|
self._send_auth()
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user