diff --git a/Program.cs b/Program.cs index 406cd05..a2cce72 100644 --- a/Program.cs +++ b/Program.cs @@ -404,7 +404,7 @@ namespace Tesses.YouTubeDownloader2025Companion var authHdr = auth.Split(' ', 2, StringSplitOptions.RemoveEmptyEntries); var cfg = Config ?? new AuthConfig(); - if (!string.IsNullOrWhiteSpace(cfg.Session) && (authHdr.Length == 2 && authHdr[0] == "TYTD" && cfg.SSOAppKey == authHdr[1])) + if (string.IsNullOrWhiteSpace(cfg.Session) || (authHdr.Length == 2 && authHdr[0] == "TYTD" && cfg.SSOAppKey == authHdr[1])) { try {