mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Added empty service URLs upon account creation.
This commit is contained in:
@@ -280,6 +280,15 @@ namespace OpenSim.Services.UserAccountService
|
||||
if (null == account)
|
||||
{
|
||||
account = new UserAccount(UUID.Zero, firstName, lastName, email);
|
||||
if (account.ServiceURLs == null)
|
||||
{
|
||||
account.ServiceURLs = new Dictionary<string, object>();
|
||||
account.ServiceURLs["HomeURI"] = string.Empty;
|
||||
account.ServiceURLs["GatekeeperURI"] = string.Empty;
|
||||
account.ServiceURLs["InventoryServerURI"] = string.Empty;
|
||||
account.ServiceURLs["AssetServerURI"] = string.Empty;
|
||||
}
|
||||
|
||||
if (StoreUserAccount(account))
|
||||
{
|
||||
bool success = false;
|
||||
|
||||
Reference in New Issue
Block a user