This commit is contained in:
2021-03-11 18:06:38 +00:00
parent 73ba204dc3
commit 0ae69f6591
5 changed files with 51 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ namespace AyaNova.Models
public DateTime? LastLogin { get; set; }
public string Login { get; set; }
public string Password { get; set; }
public bool TwoFactorEnabled {get;set;}
[Required]
public AuthorizationRoles Roles { get; set; }
[Required]
@@ -95,6 +96,8 @@ namespace AyaNova.Models
public string PasswordResetCode { get; set; }//---
[JsonIgnore]
public DateTime? PasswordResetCodeExpire { get; set; }//---
[JsonIgnore]
public string HotpSecret { get; set; }//---
//==========================
//relations