mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
usepolicies check
This commit is contained in:
parent
e8054df5b4
commit
0790f9859e
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user