mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Update check to match client
This commit is contained in:
parent
ce1696f99c
commit
f195c1c1f6
@ -91,7 +91,7 @@ public class AddSecretsManagerSubscriptionCommand : IAddSecretsManagerSubscripti
|
||||
}
|
||||
|
||||
var provider = await _providerRepository.GetByOrganizationIdAsync(organization.Id);
|
||||
if (provider is { Type: ProviderType.Msp })
|
||||
if (provider != null)
|
||||
{
|
||||
throw new BadRequestException(
|
||||
"Organizations with a Managed Service Provider do not support Secrets Manager.");
|
||||
|
Loading…
Reference in New Issue
Block a user