mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 15:24:51 -05:00
only azure ban on non self host
This commit is contained in:
parent
8021621a3f
commit
a222613082
@ -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>();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user