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
commit8d04879adfbe5d4039a14c5bd10e95ee4b051566 (patch)
tree6738a26befa81cb3edabe4f5ce745e9e240e2a4f /core
parent3947003b7e86a084cc725b5c68d7b4e8724e3312 (diff)
downloadprosody-8d04879adfbe5d4039a14c5bd10e95ee4b051566.tar.gz
prosody-8d04879adfbe5d4039a14c5bd10e95ee4b051566.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;