don't get far in to attempting sasl when we haven't got it configured
This commit is contained in:
parent
e26d769b7b
commit
f2a13f9015
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def _mech_match(self, server, server_mechanisms):
|
||||
our_sasl = server.get_setting("sasl", None)
|
||||
if not our_sasl:
|
||||
return None
|
||||
|
||||
our_mechanism = our_sasl["mechanism"].upper()
|
||||
|
||||
if not server_mechanisms and our_mechanism in ALL_MECHANISMS:
|
||||
|
|
Loading…
Reference in a new issue