minor changes on profiles module; add some .trim() to create user avatar

names
This commit is contained in:
UbitUmarov
2022-02-17 10:53:42 +00:00
parent fd993addc0
commit 5beffddf2a
3 changed files with 38 additions and 53 deletions

View File

@@ -591,6 +591,8 @@ namespace OpenSim.Services.UserAccountService
/// <param name="model"></param>
public UserAccount CreateUser(UUID scopeID, UUID principalID, string firstName, string lastName, string password, string email, string model = "")
{
firstName = firstName.Trim();
lastName = lastName.Trim();
UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
if (null == account)
{