mod_sasl2/mod_sasl2.lua
changeset 5067 53145c6b6b0b
parent 5053 e89aad13a52a
child 5071 54c6b4595f86
--- a/mod_sasl2/mod_sasl2.lua	Thu Oct 13 22:47:35 2022 +0100
+++ b/mod_sasl2/mod_sasl2.lua	Thu Oct 13 22:48:28 2022 +0100
@@ -172,6 +172,7 @@
 -- a common pattern with SASL2, which allows atomic negotiation of a bunch of
 -- stream features.
 module:hook("sasl2/c2s/success", function (event) --luacheck: ignore 212/event
+	event.session.sasl_handler = nil;
 	return true;
 end, -2000);