1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-26 17:37:36 +01:00

usepolicies check

This commit is contained in:
Kyle Spearrin 2020-01-15 15:01:31 -05:00
parent e8054df5b4
commit 0790f9859e

View File

@ -33,12 +33,10 @@ namespace Bit.Core.Services
throw new BadRequestException("Organization not found");
}
/*
if(!org.UseGroups)
if(!org.UsePolicies)
{
throw new BadRequestException("This organization cannot use policies.");
}
*/
if(policy.Id == default(Guid))
{