Fix bad practice for account
This commit is contained in:
@@ -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; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user