diff options
author | Melanie | 2011-10-11 21:29:58 +0100 |
---|---|---|
committer | Melanie | 2011-10-11 21:29:58 +0100 |
commit | 986a3838a639f2c18d5b3dd90251e27f5952b0c7 (patch) | |
tree | d0d24c61c35f6dcff509eadc4249e8dfa97f5cde /OpenSim/Region/Application | |
parent | Merge commit '37370a8102f066dab1fe3fd9b0b4a7d3541e8b47' into bigmerge (diff) | |
parent | Pass any region scope through to the CreateUser() method (diff) | |
download | opensim-SC_OLD-986a3838a639f2c18d5b3dd90251e27f5952b0c7.zip opensim-SC_OLD-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.gz opensim-SC_OLD-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.bz2 opensim-SC_OLD-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.xz |
Merge commit '90466515839eb34d7fd9984c92f1970ab5d6f3ad' into bigmerge
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 4b87f84..8d38bb8 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -500,6 +500,14 @@ namespace OpenSim | |||
500 | return clientServer; | 500 | return clientServer; |
501 | } | 501 | } |
502 | 502 | ||
503 | /// <summary> | ||
504 | /// Try to set up the estate owner for the given scene. | ||
505 | /// </summary> | ||
506 | /// <remarks> | ||
507 | /// The involves asking the user for information about the user on the console. If the user does not already | ||
508 | /// exist then it is created. | ||
509 | /// </remarks> | ||
510 | /// <param name="scene"></param> | ||
503 | private void SetUpEstateOwner(Scene scene) | 511 | private void SetUpEstateOwner(Scene scene) |
504 | { | 512 | { |
505 | RegionInfo regionInfo = scene.RegionInfo; | 513 | RegionInfo regionInfo = scene.RegionInfo; |
@@ -531,8 +539,9 @@ namespace OpenSim | |||
531 | string password = MainConsole.Instance.PasswdPrompt("Password"); | 539 | string password = MainConsole.Instance.PasswdPrompt("Password"); |
532 | string email = MainConsole.Instance.CmdPrompt("Email", ""); | 540 | string email = MainConsole.Instance.CmdPrompt("Email", ""); |
533 | 541 | ||
534 | // TODO: Where do we put m_regInfo.ScopeID? | 542 | account |
535 | account = ((UserAccountService)scene.UserAccountService).CreateUser(first, last, password, email); | 543 | = ((UserAccountService)scene.UserAccountService).CreateUser( |
544 | regionInfo.ScopeID, first, last, password, email); | ||
536 | } | 545 | } |
537 | // } | 546 | // } |
538 | } | 547 | } |