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