1
0
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:
Kyle Spearrin 2017-12-08 14:59:21 -05:00
parent c01fd359f0
commit f02679f609

View File

@ -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;
}