False alarm, AI is stupid

This commit is contained in:
2026-10-18 14:02:23 +00:00
parent 5234c22dd0
commit f0a5209122
+1 -1
View File
@@ -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
{