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 | 8401285913baab3730236e06f48ecb079a5fa16d (patch) | |
tree | 9c598098f717146497555546b3e2f455c5bcd300 /util/sasl/scram.lua | |
parent | 32a0363453f088e3afbaee722da065bafad6f565 (diff) | |
download | prosody-8401285913baab3730236e06f48ecb079a5fa16d.tar.gz prosody-8401285913baab3730236e06f48ecb079a5fa16d.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=([^,]*),?.*)$"); |