aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r--core/usermanager.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 0ed61f23..417d7037 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -96,6 +96,10 @@ function delete_user(username, host)
return storagemanager.purge(username, host);
end
+function users(host)
+ return hosts[host].users.users();
+end
+
function get_sasl_handler(host, session)
return hosts[host].users.get_sasl_handler(session);
end