diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-04 01:03:44 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-04 01:03:44 +0100 |
commit | 6e11c610f60ef2ff1f778ac8e08886ab1983f88e (patch) | |
tree | d7466b275f7198b9136671d593570e33ba65a21c /plugins | |
parent | e35df6a826d331bccf5d0b0b1efe9e090d519edf (diff) | |
download | prosody-6e11c610f60ef2ff1f778ac8e08886ab1983f88e.tar.gz prosody-6e11c610f60ef2ff1f778ac8e08886ab1983f88e.zip |
mod_saslauth: Use renamed API for hooking non-stanzas
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 3eda2a24..f747ab40 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -113,7 +113,7 @@ module:hook_tag(xmlns_sasl, "failure", function (session, stanza) session.external_auth_failure_reason = condition; end, 500) -module:hook_stanza(xmlns_sasl, "failure", function (session, stanza) +module:hook_tag(xmlns_sasl, "failure", function (session, stanza) session.log("debug", "No fallback from SASL EXTERNAL failure, giving up"); session:close(nil, session.external_auth_failure_reason); return true; |