Fix bad practice for account

This commit is contained in:
2025-07-24 21:07:06 -07:00
parent 36412a5139
commit 5209fd9bfc
3 changed files with 26 additions and 14 deletions
+3 -1
View File
@@ -5,12 +5,14 @@ namespace Auth.Entities {
public string Email { get; set; } = "";
public bool EmailVerified { get; set; } = false;
public string PasswordHash { get; set; } = "";
public Guid LoginToken { get; set; } = new Guid();
public bool FailedPasswordLock { get; set; } = false;
public int PasswordAttempts { get; set; } = 5;
public int CurrentPasswordAttempts { get; set; } = 0;
public string Role { get; set; } = "Generic";
public string EmailToken { get; set; } = "";
public DateTime EmailTokenCreated { get; set; }
public string PasswordToken { get; set; } = "";
public DateTime PasswordTokenCreated { get; set; }
public string DataServer { get; set; } = "";
}
}