From 1b136bfe7d3670267f62af9d77a8ae860066b608 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Sun, 23 Feb 2020 12:38:43 +0000
Subject: usermanager, mod_authz_*: Merge mod_authz_config and
 mod_authz_internal into the latter

---
 core/usermanager.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core')

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;
-- 
cgit v1.2.3