aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-02-23 12:38:43 +0000
committerMatthew Wild <mwild1@gmail.com>2020-02-23 12:38:43 +0000
commit1b136bfe7d3670267f62af9d77a8ae860066b608 (patch)
tree6738a26befa81cb3edabe4f5ce745e9e240e2a4f /core
parent5fe826e31796743c7ca1042a2f5301880189d3e1 (diff)
downloadprosody-1b136bfe7d3670267f62af9d77a8ae860066b608.tar.gz
prosody-1b136bfe7d3670267f62af9d77a8ae860066b608.zip
usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter
Diffstat (limited to 'core')
-rw-r--r--core/usermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index acdc7909..aced0379 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 "config";
+ local authz_provider_name = config.get(host, "authorization") or "internal";
local authz_mod = modulemanager.load(host, "authz_"..authz_provider_name);
host_session.authz = authz_mod or global_authz_provider;