# HG changeset patch # User Matthew Wild # Date 1680102780 -3600 # Node ID a91adc164566f410d976234fb3f45790e6256531 # Parent 8e1f1eb00b5846be9cd4081778dfc712759ee78e mod_sasl2_fast: Add flag to FAST sasl_handler for easier identification Other code that looks at session.sasl_handler can now detect if a client used FAST to authenticate. diff -r 8e1f1eb00b58 -r a91adc164566 mod_sasl2_fast/mod_sasl2_fast.lua --- a/mod_sasl2_fast/mod_sasl2_fast.lua Wed Mar 29 16:12:15 2023 +0100 +++ b/mod_sasl2_fast/mod_sasl2_fast.lua Wed Mar 29 16:13:00 2023 +0100 @@ -112,6 +112,7 @@ end local sasl_handler = get_sasl_handler(username); if not sasl_handler then return; end + sasl_handler.fast_auth = true; -- For informational purposes -- Copy channel binding info from primary SASL handler sasl_handler.profile.cb = session.sasl_handler.profile.cb; sasl_handler.userdata = session.sasl_handler.userdata;