Software /
code /
prosody
Changeset
4059:cfdcad1782aa
usermanager: Add delete_user method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 Jan 2011 17:11:51 +0000 |
parents | 4058:ac8adebd5e38 |
children | 4060:52b437eb7059 |
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