Mercurial > prosody-modules
changeset 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 |
parents | c83ce822f105 |
children | f62b091b1c81 |
files | mod_sasl2/mod_sasl2.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)