Mercurial > prosody-hg
comparison core/usermanager.lua @ 4943:50f63f07245f
usermanager: Pass session on to auth provider (missing half of commit 0545a574667b) (thanks Zash)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 07 Jul 2012 02:32:39 +0100 |
| parents | ee55956597f4 |
| children | ce823b32225e |
comparison
equal
deleted
inserted
replaced
| 4941:d46948d3018a | 4943:50f63f07245f |
|---|---|
| 89 | 89 |
| 90 function delete_user(username, host) | 90 function delete_user(username, host) |
| 91 return hosts[host].users.delete_user(username); | 91 return hosts[host].users.delete_user(username); |
| 92 end | 92 end |
| 93 | 93 |
| 94 function get_sasl_handler(host) | 94 function get_sasl_handler(host, session) |
| 95 return hosts[host].users.get_sasl_handler(); | 95 return hosts[host].users.get_sasl_handler(session); |
| 96 end | 96 end |
| 97 | 97 |
| 98 function get_provider(host) | 98 function get_provider(host) |
| 99 return hosts[host].users; | 99 return hosts[host].users; |
| 100 end | 100 end |
