aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-18 11:51:58 +0100
committerKim Alvefur <zash@zash.se>2016-03-18 11:51:58 +0100
commit94c745e8e83bcabc945e93ebffb5f5eead5544bf (patch)
tree5e875ca6ae989f3f925f7678b6b456965199abd3 /plugins
parent4633eb56fbfda4ba0e5d790203282f374c8a8079 (diff)
downloadprosody-94c745e8e83bcabc945e93ebffb5f5eead5544bf.tar.gz
prosody-94c745e8e83bcabc945e93ebffb5f5eead5544bf.zip
mod_saslauth: Disable DIGEST-MD5 by default (closes #515)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 7e9b0720..bb36600b 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -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;