prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672

This commit is contained in:
Yann Leboulanger 2009-01-23 17:27:21 +00:00
parent 3a80d25bad
commit 26ed4433b4
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ class SASL(PlugIn):
else:
self.startsasl = SASL_FAILURE
log.error('I can only use DIGEST-MD5, GSSAPI and PLAIN mecanisms.')
if self.on_sasl:
self.on_sasl()
return
self.startsasl = SASL_IN_PROCESS
self._owner.send(str(node))