Changeset

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 1938:cfe73f64ad29
children 1940:453eee191e18
files mod_auth_http_async/mod_auth_http_async.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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