Diff

core/usermanager.lua @ 3167:546695e80e0a

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.
author Jeff Mitchell <jeff@jefferai.org>
date Fri, 28 May 2010 14:47:32 -0400
parent 3166:3c46cb94caed
child 3176:f77759710324
line wrap: on
line diff
--- a/core/usermanager.lua	Thu May 27 10:54:11 2010 -0400
+++ b/core/usermanager.lua	Fri May 28 14:47:32 2010 -0400
@@ -78,6 +78,10 @@
 	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);