mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Fix ASF crash when account is used as new family sharing kid
This commit is contained in:
@@ -3860,7 +3860,7 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
|
||||
private (bool IsSteamParentalEnabled, string? SteamParentalCode) ValidateSteamParental(ParentalSettings settings, string? steamParentalCode = null, bool allowGeneration = true) {
|
||||
ArgumentNullException.ThrowIfNull(settings);
|
||||
|
||||
if (!settings.is_enabled) {
|
||||
if (!settings.is_enabled || (settings.passwordhash == null)) {
|
||||
return (false, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user