Fixed #1252 (Show the correct user type on the management page for Plex Users)

Fixed #1261 (User login time not being populated)
This commit is contained in:
Jamie.Rees 2017-03-29 08:49:00 +01:00
commit 4e817b5aaa
5 changed files with 30 additions and 32 deletions

View file

@ -39,6 +39,7 @@ namespace Ombi.Core.Users
public Features Features { get; set; }
public string EmailAddress { get; set; }
public UserType Type { get; set; }
public string UserId { get; set; }
[JsonIgnore]
public string UsernameOrAlias => string.IsNullOrEmpty(UserAlias) ? Username : UserAlias;