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
commit5386166909493c4850493128d24129877cea95eb (patch)
treed5833e2bc4d5e5aeab6115657247e57ed522a437 /plugins/mod_auth_internal_hashed.lua
parent244acd81f41c3bed1454242df2ace00bf71451b4 (diff)
downloadprosody-5386166909493c4850493128d24129877cea95eb.tar.gz
prosody-5386166909493c4850493128d24129877cea95eb.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