actually set server._sasl_timeout

This commit is contained in:
jesopo 2019-10-30 11:41:49 +00:00
parent c0c1f85e83
commit 4f5dbbb6e0

View file

@ -79,6 +79,8 @@ class Module(ModuleManager.BaseModule):
server.send_authenticate(mechanism)
timer = self.timers.add("sasl-timeout", self._sasl_timeout,
SASL_TIMEOUT, server=server)
server._sasl_timeout = timer
server.sasl_mechanism = mechanism
server.wait_for_capability("sasl")