From 79df72e1a67a9566c952414a2a1dc9cded7ed625 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 28 May 2010 14:47:32 -0400 Subject: 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. --- core/usermanager.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/usermanager.lua') 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); -- cgit v1.2.3