mod_sasl2: Return true to indicate challenge was handled successfully
authorMatthew Wild <mwild1@gmail.com>
Sun, 28 Aug 2022 11:18:10 +0100
changeset 5024 6a36dae4a88d
parent 5023 c83ce822f105
child 5025 f62b091b1c81
mod_sasl2: Return true to indicate challenge was handled successfully
mod_sasl2/mod_sasl2.lua
--- a/mod_sasl2/mod_sasl2.lua	Sun Aug 28 11:12:52 2022 +0100
+++ b/mod_sasl2/mod_sasl2.lua	Sun Aug 28 11:18:10 2022 +0100
@@ -83,6 +83,7 @@
 	local session = event.session;
 	session.send(st.stanza("challenge", { xmlns = xmlns_sasl2 })
 		:text(base64.encode(event.message)));
+	return true;
 end);
 
 module:hook("sasl2/c2s/success", function (event)