# HG changeset patch # User Kim Alvefur # Date 1413902488 -7200 # Node ID 4e51b5e81bdd9b5f2d436a8460255d4606e62566 # Parent 0d07fdc07d8c4cc0b3a42957c232f67ac31fbe12 mod_saslauth: Better name for config option diff -r 0d07fdc07d8c -r 4e51b5e81bdd plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Tue Oct 21 14:38:40 2014 +0200 +++ b/plugins/mod_saslauth.lua Tue Oct 21 16:41:28 2014 +0200 @@ -18,7 +18,7 @@ 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;