mod_auth_http_async/mod_auth_http_async.lua
changeset 1593 3e4d15ae2133
parent 1421 295c30e44ba8
child 1931 439711709d29
--- a/mod_auth_http_async/mod_auth_http_async.lua	Tue Jan 20 11:02:14 2015 +0000
+++ b/mod_auth_http_async/mod_auth_http_async.lua	Sun Jan 25 13:04:02 2015 +0100
@@ -7,7 +7,6 @@
 -- COPYING file in the source package for more information.
 --
 
-local usermanager = require "core.usermanager";
 local new_sasl = require "util.sasl".new;
 local base64 = require "util.encodings".base64.encode;
 local waiter =require "util.async".waiter;
@@ -66,7 +65,7 @@
 function provider.get_sasl_handler()
 	return new_sasl(host, {
 		plain_test = function(sasl, username, password, realm)
-			return usermanager.test_password(username, realm, password), true;
+			return provider.test_password(username, realm, password), true;
 		end
 	});
 end