fix(security): align rate limiting and password po

This commit is contained in:
Arnaud Dartois authored and Arnaud Dartois committed 2026-08-20 18:14:18 +02:00
1 parent d0e731a243
commit 13456ab4f5
11 files changed
+137 -8

No files matched your search

@@ -175,6 +175,10 @@ public static class DependencyInjection
// Error reporting (Sentry/GlitchTip via IErrorReporter abstraction)
services.AddScoped<IErrorReporter, SentryErrorReporter>();
// HaveIBeenPwned — password breach check (k-anonymity, fail-open on error)
services.AddPwnedServices(configuration);
services.AddScoped<IPasswordBreachChecker, HaveIBeenPwnedBreachChecker>();
return services;
}
}