certmanager: Remove debug logging accidentally committed
[prosody.git] / plugins / mod_component.lua
index 7efb4f9c3e94c2c4076854445103ed2267f7b065..033317434322944aab372a662ca12803d46ba1f4 100644 (file)
@@ -50,6 +50,8 @@ function handle_component_auth(session, stanza)
        -- Authenticated now
        log("info", "Component authenticated: %s", session.host);
        
+       session.component_validate_from = module:get_option_boolean("validate_from_addresses") ~= false;
+       
        -- If component not already created for this host, create one now
        if not hosts[session.host].connected then
                local send = session.send;