mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
usermanager, mod_saslauth: Default to internal_hashed if no auth module specified
The default config was updated in this way long ago, but if no option was present in the config, Prosody would load internal_plain. This change can result in changes (for the better) for people using very old configuration files lacking an 'authentication' setting.
This commit is contained in:
parent
ecf01c937d
commit
067a0ad4d8
3 changed files with 3 additions and 2 deletions
|
@ -309,7 +309,7 @@ module:hook("stream-features", function(event)
|
|||
return;
|
||||
end
|
||||
|
||||
local authmod = module:get_option_string("authentication", "internal_plain");
|
||||
local authmod = module:get_option_string("authentication", "internal_hashed");
|
||||
if available_mechanisms:empty() then
|
||||
log("warn", "No available SASL mechanisms, verify that the configured authentication module '%s' is loaded and configured correctly", authmod);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue