mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Bugfix: pulled back correct policy (#999)
This commit is contained in:
parent
60973e3051
commit
028ad46c47
@ -143,7 +143,7 @@ namespace Bit.Portal.Controllers
|
||||
{
|
||||
break;
|
||||
}
|
||||
var singleOrg = await _policyRepository.GetByOrganizationIdTypeAsync(orgId.Value, type);
|
||||
var singleOrg = await _policyRepository.GetByOrganizationIdTypeAsync(orgId.Value, PolicyType.SingleOrg);
|
||||
if (singleOrg?.Enabled != true)
|
||||
{
|
||||
ModelState.AddModelError(string.Empty, _i18nService.T("RequireSsoPolicyReqError"));
|
||||
|
Loading…
Reference in New Issue
Block a user