# HG changeset patch # User Kim Alvefur # Date 1413895025 -7200 # Node ID f71643256d50c121266c64d172925d2b042fff6f # Parent 8ad74f48b2aa98ba7f865a8fd629d37d434f7c5b mod_saslauth: Add LOGIN to mechanisms not allowed over unencrypted connections as it may be offered by 3rd party authentication plugins diff -r 8ad74f48b2aa -r f71643256d50 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Tue Oct 21 14:35:32 2014 +0200 +++ b/plugins/mod_saslauth.lua Tue Oct 21 14:37:05 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"}); +local insecure_mechanisms = module:get_option_set("allow_unencrypted_sasl", allow_unencrypted_plain_auth and {} or {"PLAIN", "LOGIN"}); local log = module._log;