--- a/plugins/mod_auth_internal_hashed.lua Tue Apr 04 01:25:33 2017 +0200
+++ b/plugins/mod_auth_internal_hashed.lua Tue Apr 04 01:26:09 2017 +0200
@@ -110,10 +110,10 @@
function provider.get_sasl_handler()
local testpass_authentication_profile = {
- plain_test = function(sasl, username, password, realm)
+ plain_test = function(_, username, password, realm)
return usermanager.test_password(username, realm, password), true;
end,
- scram_sha_1 = function(sasl, username, realm)
+ scram_sha_1 = function(_, username)
local credentials = accounts:get(username);
if not credentials then return; end
if credentials.password then