auth_text
would not be present in a failure scenario
This commit is contained in:
parent
cfa590eef7
commit
be95514174
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
sasl = event["server"].get_setting("sasl")
|
sasl = event["server"].get_setting("sasl")
|
||||||
mechanism = sasl["mechanism"].upper()
|
mechanism = sasl["mechanism"].upper()
|
||||||
|
|
||||||
|
auth_text = None
|
||||||
if mechanism == "PLAIN":
|
if mechanism == "PLAIN":
|
||||||
if event["message"] != "+":
|
if event["message"] != "+":
|
||||||
event["server"].send_authenticate("*")
|
event["server"].send_authenticate("*")
|
||||||
|
|
Loading…
Reference in a new issue