aboutsummaryrefslogtreecommitdiffstats
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
parentb177628d3c336437b7098935b2e1040dc254e46a (diff)
downloadprosody-34abcc8bd5da00be68279f31b747a341f23d1c11.tar.gz
prosody-34abcc8bd5da00be68279f31b747a341f23d1c11.zip
mod_authz_internal, usermanager: Rename to mod_authz_config
-rw-r--r--core/usermanager.lua2
-rw-r--r--plugins/mod_authz_config.lua (renamed from plugins/mod_authz_internal.lua)0
2 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;
diff --git a/plugins/mod_authz_internal.lua b/plugins/mod_authz_config.lua
index 41b8d9f0..41b8d9f0 100644
--- a/plugins/mod_authz_internal.lua
+++ b/plugins/mod_authz_config.lua