Comparison

mod_auth_ldap/mod_auth_ldap.lua @ 286:ca6199d73d68

mod_auth_ldap: Removed an invalid argument to a function.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 14 Dec 2010 00:02:10 +0500
parent 218:4a91047f9b5e
child 293:d76f47a608ab
comparison
equal deleted inserted replaced
285:108ac6f16d2d 286:ca6199d73d68
46 local prepped_username = nodeprep(username); 46 local prepped_username = nodeprep(username);
47 if not prepped_username then 47 if not prepped_username then
48 log("debug", "NODEprep failed on username: %s", username); 48 log("debug", "NODEprep failed on username: %s", username);
49 return "", nil; 49 return "", nil;
50 end 50 end
51 return provider.test_password(prepped_username, realm, password), true; 51 return provider.test_password(prepped_username, password), true;
52 end 52 end
53 }; 53 };
54 return new_sasl(realm, testpass_authentication_profile); 54 return new_sasl(realm, testpass_authentication_profile);
55 end 55 end
56 56