fix(security): align rate limiting and password po
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user