diff mod_auth_http_async/mod_auth_http_async.lua @ 1939:54f9e8663139

mod_auth_http_async: Correctly pass password to provider.test_password (thanks mother)
author Kim Alvefur <zash@zash.se>
date Wed, 28 Oct 2015 15:08:19 +0100
parents cfe73f64ad29
children 5e8dec076afc
line wrap: on
line diff
--- 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