mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Added back UserAccount that creates random UUID for new account.
This should fix recent issues with 3rd party apps that use the old interface w/o breaking the new one.
This commit is contained in:
@@ -44,6 +44,17 @@ namespace OpenSim.Services.Interfaces
|
||||
PrincipalID = principalID;
|
||||
}
|
||||
|
||||
public UserAccount(UUID scopeID, string firstName, string lastName, string email)
|
||||
{
|
||||
PrincipalID = UUID.Random();
|
||||
ScopeID = scopeID;
|
||||
FirstName = firstName;
|
||||
LastName = lastName;
|
||||
Email = email;
|
||||
ServiceURLs = new Dictionary<string, object>();
|
||||
Created = Util.UnixTimeSinceEpoch();
|
||||
}
|
||||
|
||||
public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
|
||||
{
|
||||
PrincipalID = principalID;
|
||||
|
||||
Reference in New Issue
Block a user