implement IP bans and password resets

This commit is contained in:
Elijah R
2024-04-05 20:08:23 -04:00
parent 0b1ec748da
commit e19401fb9b
10 changed files with 348 additions and 10 deletions

View File

@@ -10,7 +10,8 @@ public class User
public string Email { get; set; }
public DateOnly DateOfBirth { get; set; }
public bool EmailVerified { get; set; }
public string EmailVerificationCode { get; set; }
public string? EmailVerificationCode { get; set; }
public string? PasswordResetCode { get; set; }
public Rank Rank { get; set; }
public bool Banned { get; set; }
public IPAddress RegistrationIP { get; set; }