- Docker: remove default passwords from prod compose (required env vars) - CSRF: validate antiforgery tokens on /_auth/signin and /_auth/signout - EventsHub: broadcast to site-scoped Group() instead of Clients.All - SettingsController: redact secret values in logs - Create SetAgentSettingValidator + UpdateAppSettingValidator classes - Replace 3 placeholder test projects with meaningful tests - Remove FluentValidation auto-validation (incompatible with .NET 10)
16 lines
419 B
C#
16 lines
419 B
C#
using FluentValidation;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Heimdall.Application;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
// Register validators for manual use in service layer
|
|
services.AddValidatorsFromAssembly(typeof(DependencyInjection).Assembly);
|
|
|
|
return services;
|
|
}
|
|
}
|