Software /
code /
prosody
Diff
plugins/mod_auth_internal_hashed.lua @ 8055:b08d9295f036
mod_auth_internal_hashed: Rename unused 'self' to _ [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 04 Apr 2017 01:26:09 +0200 |
parent | 6707:06cdd4afaaf9 |
child | 8056:cacf14c218ab |
line wrap: on
line diff
--- 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