mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -2991,7 +2991,7 @@ namespace ArchiSteamFarm {
|
||||
if (i >= steamParentalCode.Length) {
|
||||
IEnumerable<byte> passwordHash = ArchiCryptoHelper.GenerateSteamParentalHash(password, settings.salt, (byte) settings.passwordhash.Length, steamParentalAlgorithm);
|
||||
|
||||
if (passwordHash.SequenceEqual(settings.passwordhash)) {
|
||||
if (passwordHash?.SequenceEqual(settings.passwordhash) == true) {
|
||||
return (true, steamParentalCode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user