mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth: Add LOGIN to mechanisms not allowed over unencrypted connections as it may be offered by 3rd party authentication plugins
This commit is contained in:
parent
73979a83fd
commit
83b74ac626
1 changed files with 1 additions and 1 deletions
|
@ -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"});
|
||||
local insecure_mechanisms = module:get_option_set("allow_unencrypted_sasl", allow_unencrypted_plain_auth and {} or {"PLAIN", "LOGIN"});
|
||||
|
||||
local log = module._log;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue