From 285188ea532d0e4d1b2b798f1ab13e35202dca0d Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 28 Nov 2021 18:42:01 +0100 Subject: GH-4071 handle network errors when logging in with MSA as 'soft' This makes the tokens not expire when such errors happen. Only applies to MSA, not the XBox and Mojang steps afterwards. Further testing and improvements are still needed. --- launcher/minecraft/auth/flows/MSAInteractive.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'launcher/minecraft/auth/flows/MSAInteractive.cpp') diff --git a/launcher/minecraft/auth/flows/MSAInteractive.cpp b/launcher/minecraft/auth/flows/MSAInteractive.cpp index 6c597cf7..525aaf88 100644 --- a/launcher/minecraft/auth/flows/MSAInteractive.cpp +++ b/launcher/minecraft/auth/flows/MSAInteractive.cpp @@ -17,7 +17,6 @@ void MSAInteractive::executeTask() { m_oauth2->setExtraRequestParams(extraOpts); beginActivity(Katabasis::Activity::LoggingIn); - m_oauth2->unlink(); *m_data = AccountData(); - m_oauth2->link(); + m_oauth2->login(); } -- cgit