Harden CSRF/CSP and add hash version upgrades
This commit is contained in:
@@ -17,6 +17,7 @@ public class Player
|
||||
|
||||
public byte[] PasswordHash { get; set; } = [];
|
||||
public byte[] PasswordSalt { get; set; } = [];
|
||||
public int PasswordHashVersion { get; set; } = 1;
|
||||
|
||||
public DateTimeOffset? LastLoginAt { get; set; }
|
||||
public bool IsAdmin { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user