aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-01-27 22:28:52 +0000
committerMatthew Wild <mwild1@gmail.com>2020-01-27 22:28:52 +0000
commit34abcc8bd5da00be68279f31b747a341f23d1c11 (patch)
tree263b9d0ef37db4820e8151228c398f2533c68cbc /core/usermanager.lua
parentb177628d3c336437b7098935b2e1040dc254e46a (diff)
downloadprosody-34abcc8bd5da00be68279f31b747a341f23d1c11.tar.gz
prosody-34abcc8bd5da00be68279f31b747a341f23d1c11.zip
mod_authz_internal, usermanager: Rename to mod_authz_config
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r--core/usermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 47d157bf..4a1e18f9 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -56,7 +56,7 @@ local provider_mt = { __index = new_null_provider() };
local function initialize_host(host)
local host_session = hosts[host];
- local authz_provider_name = config.get(host, "authorization") or "internal";
+ local authz_provider_name = config.get(host, "authorization") or "config";
local authz_mod = modulemanager.load(host, "authz_"..authz_provider_name);
host_session.authz = authz_mod or global_authz_provider;