feat: started working on password reset and email confirmation, added columns to DB

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-08 23:34:59 +02:00
parent e6b2c22bab
commit 828f784fc8
13 changed files with 179 additions and 13 deletions

View file

@ -14,6 +14,9 @@ public class UserData
[Required]
public long TimeBanned { get; set; }
[Required]
public string BanReason { get; set; }
[Required]
public long lastActionTimeStamp { get; set; }
@ -35,4 +38,13 @@ public class UserData
public List<ReportData> RecivedReports { get; set; }
public string LastUsedName { get; set; }
public bool ConfirmedEmail { get; set; }
public string ConfirmEmailToken { get; set; }
public string ResetPasswordToken { get; set; }
public long ResetPasswordExpiresAt { get; set; }
}