diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-23 14:23:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-23 14:23:01 +0200 |
commit | d33c824d1f06cb3427210bdd0cfad954948a70ba (patch) | |
tree | 40ebfd90e266ffea9a1c57486c54efc306b782e7 /plugins/mod_dialback.lua | |
parent | b58d3248b78bce1bc07575ab1ff2a6f30324fc28 (diff) | |
download | prosody-d33c824d1f06cb3427210bdd0cfad954948a70ba.tar.gz prosody-d33c824d1f06cb3427210bdd0cfad954948a70ba.zip |
mod_dialback, mod_saslauth: Remove broken fallback to dialback on SASL EXTERNAL failure
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r-- | plugins/mod_dialback.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua index 4c5e3e44..5dfd9839 100644 --- a/plugins/mod_dialback.lua +++ b/plugins/mod_dialback.lua @@ -176,14 +176,6 @@ module:hook("stanza/jabber:server:dialback:result", function(event) end end); -module:hook_stanza("urn:ietf:params:xml:ns:xmpp-sasl", "failure", function (origin, stanza) - if origin.external_auth == "failed" then - module:log("debug", "SASL EXTERNAL failed, falling back to dialback"); - initiate_dialback(origin); - return true; - end -end, 100); - module:hook_stanza(xmlns_stream, "features", function (origin, stanza) if not origin.external_auth or origin.external_auth == "failed" then module:log("debug", "Initiating dialback..."); |