Skip to content

Commit

Permalink
Fix ASF crash when account is used as new family sharing kid
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Mar 29, 2024
1 parent a9d0092 commit a72f833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,7 @@ private void UpdateTokens(string accessToken, string? refreshToken = null) {
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);
}

Expand Down

0 comments on commit a72f833

Please sign in to comment.