mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_saslauth: Disable DIGEST-MD5 by default (closes #515)
This commit is contained in:
parent
4633eb56fb
commit
94c745e8e8
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ local tostring = tostring;
|
|||
local secure_auth_only = module:get_option_boolean("c2s_require_encryption", module:get_option_boolean("require_encryption", false));
|
||||
local allow_unencrypted_plain_auth = module:get_option_boolean("allow_unencrypted_plain_auth", false)
|
||||
local insecure_mechanisms = module:get_option_set("insecure_sasl_mechanisms", allow_unencrypted_plain_auth and {} or {"PLAIN", "LOGIN"});
|
||||
local disabled_mechanisms = module:get_option_set("disable_sasl_mechanisms", {});
|
||||
local disabled_mechanisms = module:get_option_set("disable_sasl_mechanisms", { "DIGEST-MD5" });
|
||||
|
||||
local log = module._log;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue