Comparison

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
parent 1938:cfe73f64ad29
child 2159:5e8dec076afc
comparison
equal deleted inserted replaced
1938:cfe73f64ad29 1939:54f9e8663139
66 end 66 end
67 67
68 function provider.get_sasl_handler() 68 function provider.get_sasl_handler()
69 return new_sasl(host, { 69 return new_sasl(host, {
70 plain_test = function(sasl, username, password, realm) 70 plain_test = function(sasl, username, password, realm)
71 return provider.test_password(username, realm, password), true; 71 return provider.test_password(username, password), true;
72 end 72 end
73 }); 73 });
74 end 74 end
75 75
76 module:provides("auth", provider); 76 module:provides("auth", provider);