diff options
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 5 |
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) |