Add a admin user and the "role" information into the token.

This commit is contained in:
Sébastien André
2021-03-17 14:06:51 +01:00
parent 229fe5d3a5
commit ee3a1273da
4 changed files with 28 additions and 9 deletions

View File

@@ -13,5 +13,7 @@
public string Login { get; set; }
public string Password { get; set; }
public bool IsAdmin { get; set; }
}
}