aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-04 01:26:09 +0200
committerKim Alvefur <zash@zash.se>2017-04-04 01:26:09 +0200
commit550dea3587b6e74346b07743efe2f80e4025229d (patch)
treed5833e2bc4d5e5aeab6115657247e57ed522a437 /plugins/mod_auth_internal_hashed.lua
parent93a40b0d85d562add7ab251f26ddbebeaf784ff3 (diff)
downloadprosody-550dea3587b6e74346b07743efe2f80e4025229d.tar.gz
prosody-550dea3587b6e74346b07743efe2f80e4025229d.zip
mod_auth_internal_hashed: Rename unused 'self' to _ [luacheck]
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r--plugins/mod_auth_internal_hashed.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 78abe50d..3dfe90ad 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -110,10 +110,10 @@ end
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