Software /
code /
prosody-modules
Changeset
5073:f158f18704c0
mod_sasl2_fast: Copy channel binding data state from original SASL handler
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 15 Oct 2022 19:45:53 +0100 |
parents | 5072:d41677929f68 |
children | 5074:1726050e9a4b |
files | mod_sasl2_fast/mod_sasl2_fast.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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");