aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorMelanie2011-10-11 21:29:58 +0100
committerMelanie2011-10-11 21:29:58 +0100
commit986a3838a639f2c18d5b3dd90251e27f5952b0c7 (patch)
treed0d24c61c35f6dcff509eadc4249e8dfa97f5cde /OpenSim/Services/UserAccountService/UserAccountService.cs
parentMerge commit '37370a8102f066dab1fe3fd9b0b4a7d3541e8b47' into bigmerge (diff)
parentPass any region scope through to the CreateUser() method (diff)
downloadopensim-SC-986a3838a639f2c18d5b3dd90251e27f5952b0c7.zip
opensim-SC-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.gz
opensim-SC-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.bz2
opensim-SC-986a3838a639f2c18d5b3dd90251e27f5952b0c7.tar.xz
Merge commit '90466515839eb34d7fd9984c92f1970ab5d6f3ad' into bigmerge
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 961698c..4c6122d 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -359,7 +359,7 @@ namespace OpenSim.Services.UserAccountService
359 email = MainConsole.Instance.CmdPrompt("Email", ""); 359 email = MainConsole.Instance.CmdPrompt("Email", "");
360 else email = cmdparams[5]; 360 else email = cmdparams[5];
361 361
362 CreateUser(firstName, lastName, password, email); 362 CreateUser(UUID.Zero, firstName, lastName, password, email);
363 } 363 }
364 364
365 protected void HandleShowAccount(string module, string[] cmdparams) 365 protected void HandleShowAccount(string module, string[] cmdparams)
@@ -471,11 +471,12 @@ namespace OpenSim.Services.UserAccountService
471 /// <summary> 471 /// <summary>
472 /// Create a user 472 /// Create a user
473 /// </summary> 473 /// </summary>
474 /// <param name="scopeID">Allows hosting of multiple grids in a single database. Normally left as UUID.Zero</param>
474 /// <param name="firstName"></param> 475 /// <param name="firstName"></param>
475 /// <param name="lastName"></param> 476 /// <param name="lastName"></param>
476 /// <param name="password"></param> 477 /// <param name="password"></param>
477 /// <param name="email"></param> 478 /// <param name="email"></param>
478 public UserAccount CreateUser(string firstName, string lastName, string password, string email) 479 public UserAccount CreateUser(UUID scopeID, string firstName, string lastName, string password, string email)
479 { 480 {
480 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); 481 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
481 if (null == account) 482 if (null == account)