Software /
code /
prosody
Diff
core/usermanager.lua @ 3993:b71e5ecc694b
usermanager: Add delete_user method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 Jan 2011 17:11:51 +0000 |
parent | 3992:73075b004e77 |
child | 4237:6b0d7d94eb7f |
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