diff options
-rw-r--r-- | core/usermanager.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index 83de193f..47a66b3a 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -34,6 +34,8 @@ end 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; |