INFO log on successful SASL authentication

This commit is contained in:
jesopo 2020-02-03 23:22:04 +00:00
parent e79e3f0315
commit 150148b4e0

View file

@ -171,6 +171,8 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.903") @utils.hook("received.903")
def sasl_success(self, event): def sasl_success(self, event):
self.log.info("SASL authentication succeeded for %s",
[str(event["server"])])
self._end_sasl(event["server"]) self._end_sasl(event["server"])
@utils.hook("received.904") @utils.hook("received.904")
def sasl_failure(self, event): def sasl_failure(self, event):