mirror of
https://github.com/bitwarden/server
synced 2025-12-22 11:13:27 +00:00
set acting user for user events
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Bit.Core.Services
|
||||
new EventMessage
|
||||
{
|
||||
UserId = userId,
|
||||
ActingUserId = userId,
|
||||
Type = type,
|
||||
Date = now
|
||||
}
|
||||
@@ -48,6 +49,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
OrganizationId = o.Id,
|
||||
UserId = userId,
|
||||
ActingUserId = userId,
|
||||
Type = type,
|
||||
Date = DateTime.UtcNow
|
||||
});
|
||||
@@ -60,6 +62,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
OrganizationId = o.OrganizationId,
|
||||
UserId = userId,
|
||||
ActingUserId = userId,
|
||||
Type = type,
|
||||
Date = DateTime.UtcNow
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user