mirror of
https://github.com/bitwarden/server.git
synced 2024-12-26 17:37:36 +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