Migrate current password hashing to Argon2id
This commit is contained in:
@@ -34,6 +34,7 @@ public class AuthTests
|
||||
Assert.True(player.DisplayName!.Length <= 16);
|
||||
Assert.NotEqual(Array.Empty<byte>(), player.PasswordHash);
|
||||
Assert.NotEqual(Array.Empty<byte>(), player.PasswordSalt);
|
||||
Assert.Equal(PasswordHasher.CurrentVersion, player.PasswordHashVersion);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user