mirror of
https://github.com/bitwarden/server
synced 2025-12-22 03:03:33 +00:00
event fixes
This commit is contained in:
@@ -78,7 +78,8 @@ namespace Bit.Core.Services
|
||||
|
||||
public async Task LogCipherEventAsync(Cipher cipher, EventType type)
|
||||
{
|
||||
if(!cipher.OrganizationId.HasValue && (!_currentContext?.UserId.HasValue ?? true))
|
||||
// Only logging organization cipher events for now.
|
||||
if(!cipher.OrganizationId.HasValue || (!_currentContext?.UserId.HasValue ?? true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user