mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 10:32:49 -05:00
new device type. return device & ip info on events
This commit is contained in:
@ -23,6 +23,8 @@ namespace Bit.Core.Models.Api
|
||||
OrganizationUserId = ev.OrganizationUserId;
|
||||
ActingUserId = ev.ActingUserId;
|
||||
Date = ev.Date;
|
||||
DeviceType = ev.DeviceType;
|
||||
IpAddress = ev.IpAddress;
|
||||
}
|
||||
|
||||
public EventType Type { get; set; }
|
||||
@ -34,5 +36,7 @@ namespace Bit.Core.Models.Api
|
||||
public Guid? OrganizationUserId { get; set; }
|
||||
public Guid? ActingUserId { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public DeviceType? DeviceType { get; set; }
|
||||
public string IpAddress { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user