Change the cookie we look at as a temporary fix for the updates to Nexus Mods

This commit is contained in:
halgari 2024-05-21 10:00:13 -06:00
parent 1cec66d6fe
commit 772cc8cb85

View File

@ -36,7 +36,7 @@ public class NexusLoginHandler : BrowserWindowViewModel
while (true) while (true)
{ {
cookies = await GetCookies("nexusmods.com", token); cookies = await GetCookies("nexusmods.com", token);
if (cookies.Any(c => c.Name == "member_id")) if (cookies.Any(c => c.Name.Contains("SessionUser")))
break; break;
token.ThrowIfCancellationRequested(); token.ThrowIfCancellationRequested();