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.remove-scene-viewer
parent
ca83f99332
commit
77b8fb0f86
|
@ -44,6 +44,17 @@ namespace OpenSim.Services.Interfaces
|
||||||
PrincipalID = principalID;
|
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)
|
public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
|
||||||
{
|
{
|
||||||
PrincipalID = principalID;
|
PrincipalID = principalID;
|
||||||
|
|
Loading…
Reference in New Issue