Software /
code /
prosody
Changeset
8512:e924a99fd435
mod_saslauth: Use renamed API for hooking non-stanzas
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 01:03:44 +0100 |
parents | 8511:dd7b8888636e |
children | 8513:c6be9bbd0a1a |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Sun Feb 04 01:01:50 2018 +0100 +++ b/plugins/mod_saslauth.lua Sun Feb 04 01:03:44 2018 +0100 @@ -113,7 +113,7 @@ 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;