diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-23 23:22:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-23 23:22:13 +0200 |
commit | 36cd6e26bd72d1e494c6de5a836568edfd3eda78 (patch) | |
tree | 5575c703c5075d720211a69c699a333d03d00064 /plugins/mod_dialback.lua | |
parent | 65159ec12ff29eaf2f7f934f6ebb2ecf6a51f30e (diff) | |
parent | 6aec6e84256f5411131b740ca16f31f065961fce (diff) | |
download | prosody-36cd6e26bd72d1e494c6de5a836568edfd3eda78.tar.gz prosody-36cd6e26bd72d1e494c6de5a836568edfd3eda78.zip |
Merge 0.10->trunk
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..."); |