diff options
author | Jeff Mitchell <jeff@jefferai.org> | 2010-05-28 14:47:32 -0400 |
---|---|---|
committer | Jeff Mitchell <jeff@jefferai.org> | 2010-05-28 14:47:32 -0400 |
commit | 79df72e1a67a9566c952414a2a1dc9cded7ed625 (patch) | |
tree | 1a2b28664dcbf8575d1938876db91524b028ea10 /core/usermanager.lua | |
parent | b9196dd592b734c54b1282c04d3f6825f6bf4c53 (diff) | |
download | prosody-79df72e1a67a9566c952414a2a1dc9cded7ed625.tar.gz prosody-79df72e1a67a9566c952414a2a1dc9cded7ed625.zip |
Correct out of order logic in mod_hashpassauth
Make saslauth check the existence of the get_password and test_password functions to determine which authentication profile to use.
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r-- | core/usermanager.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index ccbf5fb5..01beb27a 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -78,6 +78,10 @@ function get_supported_methods(host) return hosts[host].users.get_supported_methods(); end +function get_provider(host) + return hosts[host].users; +end + function is_admin(jid, host) if host and host ~= "*" then return hosts[host].users.is_admin(jid); |