From c85a780583cb36bac95f69c5d704f60a758d56bb Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 18 Oct 2011 22:51:40 +0100 Subject: Provide an option to allow remote calls to the CreateUser method on the UserAccountService Default is false, as before. Enabling AllowCreateUser in [UserAccountService] for ROBUST allows avatars to be created via an http call, with viewer 2 appropriate bits and pieces. Only Ruths can be created at present. Please don't rely on the config since at some point CreateUser will be moved to a separate co-ordinating service. --- OpenSim/Services/UserAccountService/UserAccountService.cs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs') diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index 9425816..4a29690 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs @@ -505,8 +505,10 @@ namespace OpenSim.Services.UserAccountService firstName, lastName); } else + { m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to retrieve home region for account {0} {1}.", firstName, lastName); + } if (m_InventoryService != null) { @@ -516,13 +518,19 @@ namespace OpenSim.Services.UserAccountService m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to create inventory for account {0} {1}.", firstName, lastName); } - else if (m_CreateDefaultAvatarEntries) + else { - CreateDefaultAppearanceEntries(account.PrincipalID); + m_log.DebugFormat( + "[USER ACCOUNT SERVICE]; Created user inventory for {0} {1}", firstName, lastName); } + + if (m_CreateDefaultAvatarEntries) + CreateDefaultAppearanceEntries(account.PrincipalID); } - m_log.InfoFormat("[USER ACCOUNT SERVICE]: Account {0} {1} created successfully", firstName, lastName); + m_log.InfoFormat( + "[USER ACCOUNT SERVICE]: Account {0} {1} {2} created successfully", + firstName, lastName, account.PrincipalID); } else { -- cgit v1.1