Mercurial > prosody-modules
changeset 5041:afa09e069afb
mod_sasl2: Fix missing namespace on failure condition (thanks tmolitor)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 21 Sep 2022 10:05:39 +0100 |
parents | fa99279f9d40 |
children | 166fd192f39c |
files | mod_sasl2/mod_sasl2.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua Wed Sep 14 17:21:42 2022 +0200 +++ b/mod_sasl2/mod_sasl2.lua Wed Sep 21 10:05:39 2022 +0100 @@ -119,7 +119,7 @@ module:hook("sasl2/c2s/failure", function (event) local session, condition, text = event.session, event.message, event.error_text; local failure = st.stanza("failure", { xmlns = xmlns_sasl2 }) - :tag(condition):up(); + :tag(condition, { xmlns = "urn:ietf:params:xml:ns:xmpp-sasl" }):up(); if text then failure:text_tag("text", text); end