Ajout injection manquante

This commit is contained in:
2026-01-18 16:45:29 +01:00
parent de3b03258f
commit 52381dcb89

View File

@@ -33,6 +33,7 @@ builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationSc
builder.Services.AddCascadingAuthenticationState();
builder.Services.AddScoped<IAuthService, AuthService>();
builder.Services.AddHttpContextAccessor();
var app = builder.Build();