From cba0ae51cfe4c0b6e576efc50fe1c168daec64fe Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 13 Feb 2009 22:20:13 +0000 Subject: [PATCH] fix traceback when connecting with PLAIN. Fixes #4815 --- src/common/xmpp/auth_nb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/xmpp/auth_nb.py b/src/common/xmpp/auth_nb.py index 1df5278d5..cfbc3d43c 100644 --- a/src/common/xmpp/auth_nb.py +++ b/src/common/xmpp/auth_nb.py @@ -214,6 +214,8 @@ class SASL(PlugIn): self.mecs.remove('PLAIN') self.mechanism = 'PLAIN' self._owner._caller.get_password(self.set_password) + self.startsasl = SASL_IN_PROCESS + raise NodeProcessed else: self.startsasl = SASL_FAILURE log.error('I can only use DIGEST-MD5, GSSAPI and PLAIN mecanisms.')