Diff

util/sasl/scram.lua @ 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
parent 10306:c0a94419c28e
child 10774:207691ad98fe
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=([^,]*),?.*)$");