Diff

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
line wrap: on
line diff
--- a/core/usermanager.lua	Mon Feb 14 15:58:08 2022 +0000
+++ b/core/usermanager.lua	Thu Feb 10 19:54:14 2022 +0000
@@ -23,7 +23,7 @@
 
 local setmetatable = setmetatable;
 
-local default_provider = "internal_plain";
+local default_provider = "internal_hashed";
 
 local _ENV = nil;
 -- luacheck: std none