1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

[PM-6141] Remove rate limiting ip blocker (#3754)

* remove rate limiting ip blocker

* remove using

* fix tests
This commit is contained in:
Kyle Spearrin
2024-02-07 12:23:26 -05:00
committed by GitHub
parent 6e6b50fd86
commit a019355ab4
15 changed files with 2 additions and 643 deletions

View File

@ -139,11 +139,6 @@ public abstract class WebApplicationFactoryBase<T> : WebApplicationFactory<T>
services.Remove(captchaValidationService);
services.AddSingleton<ICaptchaValidationService, NoopCaptchaValidationService>();
// Disable blocking
var blockingService = services.First(sd => sd.ServiceType == typeof(IBlockIpService));
services.Remove(blockingService);
services.AddSingleton<IBlockIpService, NoopBlockIpService>();
// TODO: Install and use azurite in CI pipeline
var installationDeviceRepository =
services.First(sd => sd.ServiceType == typeof(IInstallationDeviceRepository));