diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-09 16:39:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-09 16:39:48 +0100 |
commit | 6890707e43ca5daa277d19b79acb99b7e93f397a (patch) | |
tree | 9c598098f717146497555546b3e2f455c5bcd300 /util/sasl/scram.lua | |
parent | fbb0bbe1b4a9bda0dcfd247fb9412124396c332f (diff) | |
download | prosody-6890707e43ca5daa277d19b79acb99b7e93f397a.tar.gz prosody-6890707e43ca5daa277d19b79acb99b7e93f397a.zip |
util.sasl.scram: Ignore unused authzid variable (strict lint)
It would be nice if authzid was passed down into the stack and could be
used by plugins for things.
Diffstat (limited to 'util/sasl/scram.lua')
-rw-r--r-- | util/sasl/scram.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 1d1590e8..e2ce00f5 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -125,6 +125,7 @@ local function scram_gen(hash_name, H_f, HMAC_f, get_auth_db) local client_first_message = message; -- TODO: fail if authzid is provided, since we don't support them yet + -- luacheck: ignore 211/authzid local gs2_header, gs2_cbind_flag, gs2_cbind_name, authzid, client_first_message_bare, username, clientnonce = s_match(client_first_message, "^(([pny])=?([^,]*),([^,]*),)(m?=?[^,]*,?n=([^,]*),r=([^,]*),?.*)$"); |