diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-08-12 11:58:25 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-08-12 11:58:25 +0100 |
commit | bd2b2af7b736d9ef13be1228432443592fbaf6cd (patch) | |
tree | 7bcb646493c2a9ce3ac03cd7201ce6bcee26f981 /core | |
parent | afbc47f8bafd599ab7cf7dc5dcac4931757b417a (diff) | |
download | prosody-bd2b2af7b736d9ef13be1228432443592fbaf6cd.tar.gz prosody-bd2b2af7b736d9ef13be1228432443592fbaf6cd.zip |
usermanager: Fix method name of global authz provider (thanks Zash)
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index 9adf1f25..a299f9d9 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -55,7 +55,7 @@ local global_authz_provider = { get_jid_role = function (jid) end; -- luacheck: ignore 212 set_jid_role = function (jid) end; -- luacheck: ignore 212 add_default_permission = function (role_name, action, policy) end; -- luacheck: ignore 212 - get_role_info = function (role_name) end; -- luacheck: ignore 212 + get_role_by_name = function (role_name) end; -- luacheck: ignore 212 }; local provider_mt = { __index = new_null_provider() }; |