mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
only azure ban on non self host
This commit is contained in:
@@ -101,7 +101,7 @@ namespace Bit.Core.Utilities
|
|||||||
services.AddSingleton<IPushRegistrationService, NoopPushRegistrationService>();
|
services.AddSingleton<IPushRegistrationService, NoopPushRegistrationService>();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
if(!globalSettings.SelfHosted && CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
||||||
{
|
{
|
||||||
services.AddSingleton<IBlockIpService, AzureQueueBlockIpService>();
|
services.AddSingleton<IBlockIpService, AzureQueueBlockIpService>();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user