--- a/plugins/mod_auth_internal_plain.lua Mon Dec 27 19:43:57 2010 +0500 +++ b/plugins/mod_auth_internal_plain.lua Mon Dec 27 19:57:04 2010 +0500 @@ -66,7 +66,7 @@ function provider.get_sasl_handler() local realm = module:get_option("sasl_realm") or module.host; local getpass_authentication_profile = { - plain = function(username, realm) + plain = function(sasl, username, realm) local prepped_username = nodeprep(username); if not prepped_username then log("debug", "NODEprep failed on username: %s", username);