mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
minor changes on profiles module; add some .trim() to create user avatar
names
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user