diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d44eedf..d29d0e4 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -535,7 +535,7 @@ namespace OpenSim | |||
535 | } | 535 | } |
536 | else | 536 | else |
537 | { | 537 | { |
538 | m_console.Notice("Create user is not available in grid mode, use the user-server."); | 538 | m_console.Notice("Create user is not available in grid mode, use the user server."); |
539 | } | 539 | } |
540 | break; | 540 | break; |
541 | } | 541 | } |
@@ -800,7 +800,7 @@ namespace OpenSim | |||
800 | 800 | ||
801 | if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) | 801 | if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) |
802 | { | 802 | { |
803 | CreateUser(firstName, lastName, password, email, regX, regY); | 803 | m_commsManager.UserServiceAdmin.AddUser(firstName, lastName, password, email, regX, regY); |
804 | } | 804 | } |
805 | else | 805 | else |
806 | { | 806 | { |
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index fb620c3..7ccb3d4 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -298,11 +298,6 @@ namespace OpenSim | |||
298 | m_assetCache = new AssetCache(assetServer); | 298 | m_assetCache = new AssetCache(assetServer); |
299 | } | 299 | } |
300 | 300 | ||
301 | public UUID CreateUser(string tempfirstname, string templastname, string tempPasswd, string email, uint regX, uint regY) | ||
302 | { | ||
303 | return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY); | ||
304 | } | ||
305 | |||
306 | public void ProcessLogin(bool LoginEnabled) | 301 | public void ProcessLogin(bool LoginEnabled) |
307 | { | 302 | { |
308 | if (LoginEnabled) | 303 | if (LoginEnabled) |
@@ -314,8 +309,7 @@ namespace OpenSim | |||
314 | { | 309 | { |
315 | m_log.Info("[Login] Login are now disabled "); | 310 | m_log.Info("[Login] Login are now disabled "); |
316 | m_commsManager.GridService.RegionLoginsEnabled = false; | 311 | m_commsManager.GridService.RegionLoginsEnabled = false; |
317 | } | 312 | } |
318 | |||
319 | } | 313 | } |
320 | 314 | ||
321 | /// <summary> | 315 | /// <summary> |