mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 22:58:11 -05: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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user