Changeset

10499:79c568d4146c

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.
author Kim Alvefur <zash@zash.se>
date Mon, 09 Dec 2019 16:39:48 +0100
parents 10498:d302fc749464
children 10500:493cbfe99b64
files util/sasl/scram.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl/scram.lua	Mon Dec 09 12:44:43 2019 +0000
+++ b/util/sasl/scram.lua	Mon Dec 09 16:39:48 2019 +0100
@@ -125,6 +125,7 @@
 			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=([^,]*),?.*)$");