Software /
code /
prosody
Changeset
3993:b71e5ecc694b
usermanager: Add delete_user method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 Jan 2011 17:11:51 +0000 |
parents | 3992:73075b004e77 |
children | 3994:42899d5efe3b |
files | core/usermanager.lua |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/usermanager.lua Tue Jan 04 17:11:37 2011 +0000 +++ b/core/usermanager.lua Tue Jan 04 17:11:51 2011 +0000 @@ -83,6 +83,10 @@ 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