Comparison

core/usermanager.lua @ 12333:ed8a4f8dfd27

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.
author Matthew Wild <mwild1@gmail.com>
date Thu, 10 Feb 2022 19:54:14 +0000
parent 12020:a949f1aae171
child 12642:9061f9621330
comparison
equal deleted inserted replaced
12332:0d245034600a 12333:ed8a4f8dfd27
21 local prosody = _G.prosody; 21 local prosody = _G.prosody;
22 local hosts = prosody.hosts; 22 local hosts = prosody.hosts;
23 23
24 local setmetatable = setmetatable; 24 local setmetatable = setmetatable;
25 25
26 local default_provider = "internal_plain"; 26 local default_provider = "internal_hashed";
27 27
28 local _ENV = nil; 28 local _ENV = nil;
29 -- luacheck: std none 29 -- luacheck: std none
30 30
31 local function new_null_provider() 31 local function new_null_provider()