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.0.7.2-post-fixes
parent
6fa4f88d39
commit
71fa970990
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue