Mercurial > prosody-hg
comparison core/usermanager.lua @ 3185:09174a6e8366
usermanager: Changed get_supported_methods to get_sasl_handler.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Mon, 07 Jun 2010 02:32:13 +0500 |
| parents | 99be525bcfb4 |
| children | 032b81731f0f |
comparison
equal
deleted
inserted
replaced
| 3184:1b076d237a20 | 3185:09174a6e8366 |
|---|---|
| 79 | 79 |
| 80 function create_user(username, password, host) | 80 function create_user(username, password, host) |
| 81 return hosts[host].users.create_user(username, password); | 81 return hosts[host].users.create_user(username, password); |
| 82 end | 82 end |
| 83 | 83 |
| 84 function get_supported_methods(host) | 84 function get_sasl_handler(host) |
| 85 return hosts[host].users.get_supported_methods(); | 85 return hosts[host].users.get_sasl_handler(); |
| 86 end | 86 end |
| 87 | 87 |
| 88 function get_provider(host) | 88 function get_provider(host) |
| 89 return hosts[host].users; | 89 return hosts[host].users; |
| 90 end | 90 end |
