mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 14:54:50 -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>();
|
||||
}
|
||||
|
||||
if(CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
||||
if(!globalSettings.SelfHosted && CoreHelpers.SettingHasValue(globalSettings.Storage.ConnectionString))
|
||||
{
|
||||
services.AddSingleton<IBlockIpService, AzureQueueBlockIpService>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user