Only send auth_text
if it's not None (sasl)
This commit is contained in:
parent
be95514174
commit
0e63700761
1 changed files with 5 additions and 4 deletions
|
@ -89,6 +89,7 @@ class Module(ModuleManager.BaseModule):
|
|||
else:
|
||||
raise ValueError("unknown sasl mechanism '%s'" % mechanism)
|
||||
|
||||
if not auth_text == None:
|
||||
if not auth_text == "+":
|
||||
auth_text = base64.b64encode(auth_text)
|
||||
auth_text = auth_text.decode("utf8")
|
||||
|
|
Loading…
Reference in a new issue