mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
logic error on cipher event log
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user