Extra check verifying local grid user

This commit is contained in:
lickx
2026-02-07 06:19:44 +01:00
parent 2ae41550fe
commit d69bf27629

View File

@@ -1238,7 +1238,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
if (string.IsNullOrEmpty(homeuri.Host)) // take this as local
{
UserAccount account = m_userAccountService.GetUserAccount(UUID.Zero, firstname, lastname);
if (account != null)
if (account != null && account.PrincipalID == id)
{
oldUser.FirstName = firstname;
oldUser.LastName = lastname;