Software /
code /
prosody
Comparison
core/usermanager.lua @ 4059:cfdcad1782aa
usermanager: Add delete_user method
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 04 Jan 2011 17:11:51 +0000 |
parent | 4058:ac8adebd5e38 |
child | 4237:6b0d7d94eb7f |
comparison
equal
deleted
inserted
replaced
4058:ac8adebd5e38 | 4059:cfdcad1782aa |
---|---|
81 | 81 |
82 function create_user(username, password, host) | 82 function create_user(username, password, host) |
83 return hosts[host].users.create_user(username, password); | 83 return hosts[host].users.create_user(username, password); |
84 end | 84 end |
85 | 85 |
86 function delete_user(username, host) | |
87 return hosts[host].users.delete_user(username); | |
88 end | |
89 | |
86 function get_sasl_handler(host) | 90 function get_sasl_handler(host) |
87 return hosts[host].users.get_sasl_handler(); | 91 return hosts[host].users.get_sasl_handler(); |
88 end | 92 end |
89 | 93 |
90 function get_provider(host) | 94 function get_provider(host) |