diff options
author | Kim Alvefur <zash@zash.se> | 2012-09-21 17:26:25 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-09-21 17:26:25 +0200 |
commit | ab915e9dd4c9083cb77650a5a498d1a04fbeccb5 (patch) | |
tree | 3cd63459a34a2110be5ac98b2c0f403f36c2f72a /core | |
parent | ce8ed6688196ab6b37e71fbef0da4faa9b4b2073 (diff) | |
download | prosody-ab915e9dd4c9083cb77650a5a498d1a04fbeccb5.tar.gz prosody-ab915e9dd4c9083cb77650a5a498d1a04fbeccb5.zip |
usermanager: Add support for iterating over accounts
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 4 |
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 |