--- a/mod_sasl2_fast/mod_sasl2_fast.lua Sat Oct 15 19:44:54 2022 +0100
+++ b/mod_sasl2_fast/mod_sasl2_fast.lua Sat Oct 15 19:45:53 2022 +0100
@@ -103,6 +103,8 @@
if fast_sasl_handler and client_id then
session.log("debug", "Client is authenticating using FAST");
fast_sasl_handler.profile._client_id = client_id;
+ fast_sasl_handler.profile.cb = session.sasl_handler.profile.cb;
+ fast_sasl_handler.userdata = session.sasl_handler.userdata;
session.sasl_handler = fast_sasl_handler;
else
session.log("warn", "Client asked to auth via FAST, but no SASL handler available");