mirror of
https://github.com/bitwarden/server.git
synced 2025-07-05 18:12:48 -05:00
Key Connector feature toggle (#1716)
This commit is contained in:
@ -157,7 +157,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
|
||||
var ssoConfig = await _ssoConfigRepository.GetByOrganizationIdAsync(org.Id);
|
||||
if (ssoConfig?.GetData()?.UseKeyConnector == true)
|
||||
if (ssoConfig?.GetData()?.KeyConnectorEnabled == true)
|
||||
{
|
||||
throw new BadRequestException("Key Connector is enabled.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user