aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-10-21 16:41:28 +0200
committerKim Alvefur <zash@zash.se>2014-10-21 16:41:28 +0200
commita0d0ea03e1b4e101ce32676b08b94c6615b9f250 (patch)
treeae74648974e47c8af56d2e5d937b2c943829abcf /plugins
parent4311fcb52b827ac6589d64ec6a61b29932fb403c (diff)
downloadprosody-a0d0ea03e1b4e101ce32676b08b94c6615b9f250.tar.gz
prosody-a0d0ea03e1b4e101ce32676b08b94c6615b9f250.zip
mod_saslauth: Better name for config option
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 a664a8ed..e42adbe1 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -18,7 +18,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("allow_unencrypted_sasl", allow_unencrypted_plain_auth and {} or {"PLAIN", "LOGIN"});
+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 log = module._log;