mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
logic error on cipher event log
This commit is contained in:
parent
c01fd359f0
commit
f02679f609
@ -57,7 +57,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public async Task LogCipherEventAsync(Cipher cipher, EventType type)
|
||||
{
|
||||
if(!cipher.OrganizationId.HasValue || (!_currentContext?.UserId.HasValue ?? true))
|
||||
if(!cipher.OrganizationId.HasValue && (!_currentContext?.UserId.HasValue ?? true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user