mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference.
This commit is contained in:
@@ -99,7 +99,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Authentication
|
||||
if (!m_Registered)
|
||||
{
|
||||
m_Registered = true;
|
||||
new HGAuthServiceInConnector(m_Config, MainServer.Instance);
|
||||
new HGAuthServiceInConnector(m_Config, MainServer.Instance, scene);
|
||||
|
||||
//Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer };
|
||||
//ServerUtils.LoadPlugin<IAuthenticationService>("OpenSim.Server.Handlers.dll:HGAuthServiceInConnector", args);
|
||||
|
||||
Reference in New Issue
Block a user