mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
When creating a new user on the comand line, give the option of allowing a UUID to be specified to override the randomly generated one.
This can be useful in some migration cases where recreating user accounts with known IDs will preserve region scene object ownership.
This commit is contained in:
@@ -3115,7 +3115,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
UserAccount account = userAccountService.GetUserAccount(scopeID, firstName, lastName);
|
||||
if (null == account)
|
||||
{
|
||||
account = new UserAccount(scopeID, firstName, lastName, email);
|
||||
account = new UserAccount(scopeID, UUID.Random(), firstName, lastName, email);
|
||||
if (account.ServiceURLs == null || (account.ServiceURLs != null && account.ServiceURLs.Count == 0))
|
||||
{
|
||||
account.ServiceURLs = new Dictionary<string, object>();
|
||||
|
||||
Reference in New Issue
Block a user