mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
amazon sqs block ip queuing
This commit is contained in:
@@ -121,6 +121,10 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
services.AddSingleton<IBlockIpService, AzureQueueBlockIpService>();
|
||||
}
|
||||
else if(!globalSettings.SelfHosted && CoreHelpers.SettingHasValue(globalSettings.Amazon?.AccessKeySecret))
|
||||
{
|
||||
services.AddSingleton<IBlockIpService, AmazonSqsBlockIpService>();
|
||||
}
|
||||
else
|
||||
{
|
||||
services.AddSingleton<IBlockIpService, NoopBlockIpService>();
|
||||
|
||||
Reference in New Issue
Block a user