Software /
code /
prosody-modules
Diff
mod_sasl2/mod_sasl2.lua @ 5020:6a36dae4a88d
mod_sasl2: Return true to indicate challenge was handled successfully
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 28 Aug 2022 11:18:10 +0100 |
parent | 5019:c83ce822f105 |
child | 5021:f62b091b1c81 |
line wrap: on
line diff
--- 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)