changeset 6038 | b3ceb7627e27 |
parent 6014 | d61026bee038 |
parent 6033 | 0d6f23049e95 |
child 6302 | 76699a0ae4c4 |
--- a/plugins/mod_saslauth.lua Sat Mar 22 14:53:17 2014 +0100 +++ b/plugins/mod_saslauth.lua Tue Mar 25 19:16:38 2014 +0100 @@ -197,7 +197,7 @@ return s2s_external_auth(session, stanza) end - if session.type ~= "c2s_unauthed" then return; end + if session.type ~= "c2s_unauthed" or module:get_host_type() ~= "local" then return; end if session.sasl_handler and session.sasl_handler.selected then session.sasl_handler = nil; -- allow starting a new SASL negotiation before completing an old one