diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 608de06..fb620c3 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -303,6 +303,21 @@ namespace OpenSim | |||
303 | return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY); | 303 | return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY); |
304 | } | 304 | } |
305 | 305 | ||
306 | public void ProcessLogin(bool LoginEnabled) | ||
307 | { | ||
308 | if (LoginEnabled) | ||
309 | { | ||
310 | m_log.Info("[Login] Login are now enabled "); | ||
311 | m_commsManager.GridService.RegionLoginsEnabled = true; | ||
312 | } | ||
313 | else | ||
314 | { | ||
315 | m_log.Info("[Login] Login are now disabled "); | ||
316 | m_commsManager.GridService.RegionLoginsEnabled = false; | ||
317 | } | ||
318 | |||
319 | } | ||
320 | |||
306 | /// <summary> | 321 | /// <summary> |
307 | /// Execute the region creation process. This includes setting up scene infrastructure. | 322 | /// Execute the region creation process. This includes setting up scene infrastructure. |
308 | /// </summary> | 323 | /// </summary> |