Some changes to get register/login flow working smoothly with Admin role.

This commit is contained in:
Joseph Milazzo 2020-12-22 17:28:38 -06:00
parent 259b954f26
commit bb276a5984
6 changed files with 26 additions and 21 deletions

View file

@ -2,8 +2,7 @@
{
public class UserDto
{
public string Username { get; set; }
public string Token { get; set; }
public bool IsAdmin { get; set; }
public string Username { get; init; }
public string Token { get; init; }
}
}