Fix changing of username

This commit is contained in:
JPVenson
2026-05-22 17:06:23 +00:00
parent e52e448c30
commit 6435600a9c

View File

@@ -210,6 +210,7 @@ namespace Jellyfin.Server.Implementations.Users
?? throw new ResourceNotFoundException(nameof(userId));
user.Username = newName;
user.NormalizedUsername = newName.ToUpperInvariant();
await UpdateUserInternalAsync(dbContext, user).ConfigureAwait(false);
}
}