mod_auth_http_async: Correctly pass password to provider.test_password (thanks mother)
authorKim Alvefur <zash@zash.se>
Wed, 28 Oct 2015 15:08:19 +0100
changeset 1943 54f9e8663139
parent 1942 cfe73f64ad29
child 1944 453eee191e18
mod_auth_http_async: Correctly pass password to provider.test_password (thanks mother)
mod_auth_http_async/mod_auth_http_async.lua
--- a/mod_auth_http_async/mod_auth_http_async.lua	Wed Oct 28 15:03:49 2015 +0100
+++ b/mod_auth_http_async/mod_auth_http_async.lua	Wed Oct 28 15:08:19 2015 +0100
@@ -68,7 +68,7 @@
 function provider.get_sasl_handler()
 	return new_sasl(host, {
 		plain_test = function(sasl, username, password, realm)
-			return provider.test_password(username, realm, password), true;
+			return provider.test_password(username, password), true;
 		end
 	});
 end