mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Backed out changeset 89c42aff8510: The problem in ejabberd has reportedly been resolved and this change causes more problems than it solves (fixes #1006)
This commit is contained in:
parent
38060a5ccf
commit
5a07b39c7f
2 changed files with 12 additions and 2 deletions
|
@ -110,10 +110,12 @@ module:hook_tag(xmlns_sasl, "failure", function (session, stanza)
|
|||
module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition);
|
||||
|
||||
session.external_auth = "failed"
|
||||
session:close();
|
||||
return true;
|
||||
end, 500)
|
||||
|
||||
module:hook_stanza(xmlns_sasl, "failure", function (session, stanza)
|
||||
-- TODO: Dialback wasn't loaded. Do something useful.
|
||||
end, 90)
|
||||
|
||||
module:hook_tag("http://etherx.jabber.org/streams", "features", function (session, stanza)
|
||||
if session.type ~= "s2sout_unauthed" or not session.secure then return; end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue