mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
set acting user for user events
This commit is contained in:
parent
8898c58f3c
commit
93ccfa7eac
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user