changeset 3612 | 5547acd18a9f |
parent 3608 | ae0f83feaff4 |
child 3721 | bd5c6c333ee7 |
--- a/core/usermanager.lua Thu Nov 11 00:55:33 2010 +0100 +++ b/core/usermanager.lua Thu Nov 11 08:36:31 2010 +0500 @@ -34,6 +34,8 @@ function initialize_host(host) local host_session = hosts[host]; + if host_session.type ~= "local" then return; end + host_session.events.add_handler("item-added/auth-provider", function (event) local provider = event.item; local auth_provider = config.get(host, "core", "authentication") or default_provider;