1
0
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:
Kyle Spearrin 2017-12-18 13:59:31 -05:00
parent 043de76aa8
commit 7dd2c524de
2 changed files with 8 additions and 1 deletions

View File

@ -18,6 +18,9 @@
IEBrowser = 13,
UnknownBrowser = 14,
AndroidAmazon = 15,
UWP = 16
UWP = 16,
SafariBrowser = 17,
VivaldiBrowser = 18,
VivaldiExtension = 19
}
}

View File

@ -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; }
}
}