mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
8c0d996be4
3 changed files with 8 additions and 3 deletions
|
@ -197,7 +197,7 @@ module:hook("stanza/urn:ietf:params:xml:ns:xmpp-sasl:auth", function(event)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue