mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
new device type. return device & ip info on events
This commit is contained in:
parent
043de76aa8
commit
7dd2c524de
@ -18,6 +18,9 @@
|
||||
IEBrowser = 13,
|
||||
UnknownBrowser = 14,
|
||||
AndroidAmazon = 15,
|
||||
UWP = 16
|
||||
UWP = 16,
|
||||
SafariBrowser = 17,
|
||||
VivaldiBrowser = 18,
|
||||
VivaldiExtension = 19
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user