Software /
code /
prosody
Diff
core/usermanager.lua @ 10659:8f95308c3c45
usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 23 Feb 2020 12:38:43 +0000 |
parent | 10640:5622eda7c5c5 |
child | 10695:52886aad9ee1 |
line wrap: on
line diff
--- a/core/usermanager.lua Sat Feb 22 18:32:50 2020 +0100 +++ b/core/usermanager.lua Sun Feb 23 12:38:43 2020 +0000 @@ -56,7 +56,7 @@ 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;