mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05: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