mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth: Use renamed API for hooking non-stanzas
This commit is contained in:
parent
e925f5a34a
commit
e1542aa2ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue