plugins/sasl.lua

changeset 456
6a65142052c8
parent 395
e86144a4eaa1
child 467
8e6a7a5e70b3
--- a/plugins/sasl.lua	Wed Aug 03 03:07:16 2022 +0200
+++ b/plugins/sasl.lua	Fri Mar 03 12:10:54 2023 +0000
@@ -32,7 +32,7 @@
 			table.insert(supported, mech);
 		end
 		if not supported[1] then
-			stream:event("authentication-failure", { condition = "no-supported-sasl-mechanisms" });
+			stream:event("authentication-failure", { condition = "no-supported-sasl-mechanisms", mechanisms = mechanisms });
 			stream:close();
 			return;
 		end

mercurial