prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672
This commit is contained in:
parent
3a80d25bad
commit
26ed4433b4
|
@ -222,6 +222,8 @@ class SASL(PlugIn):
|
||||||
else:
|
else:
|
||||||
self.startsasl = SASL_FAILURE
|
self.startsasl = SASL_FAILURE
|
||||||
log.error('I can only use DIGEST-MD5, GSSAPI and PLAIN mecanisms.')
|
log.error('I can only use DIGEST-MD5, GSSAPI and PLAIN mecanisms.')
|
||||||
|
if self.on_sasl:
|
||||||
|
self.on_sasl()
|
||||||
return
|
return
|
||||||
self.startsasl = SASL_IN_PROCESS
|
self.startsasl = SASL_IN_PROCESS
|
||||||
self._owner.send(str(node))
|
self._owner.send(str(node))
|
||||||
|
|
Loading…
Reference in New Issue