diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-04 17:11:51 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-04 17:11:51 +0000 |
commit | 8854a71059c31bb0cc39d5945525735f5cf39694 (patch) | |
tree | 17f9b35d82a5aac8cc0f92d7a51178c3f91fcd74 | |
parent | e25a697b1ad152fa1fcae01b6872a19b6a31b9f0 (diff) | |
download | prosody-8854a71059c31bb0cc39d5945525735f5cf39694.tar.gz prosody-8854a71059c31bb0cc39d5945525735f5cf39694.zip |
usermanager: Add delete_user method
-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 d4a00244..5e2e41fc 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -83,6 +83,10 @@ function create_user(username, password, host) return hosts[host].users.create_user(username, password); end +function delete_user(username, host) + return hosts[host].users.delete_user(username); +end + function get_sasl_handler(host) return hosts[host].users.get_sasl_handler(); end |