Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
3992:73075b004e77 | 3993:b71e5ecc694b |
---|---|
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) |