aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/flows
diff options
context:
space:
mode:
authorTheCodex6824 <thecodex6824@gmail.com>2022-04-21 16:01:55 -0400
committerTheCodex6824 <thecodex6824@gmail.com>2022-04-22 23:39:38 -0400
commit8bcbe07c87ee4b776d9ba743bb598f22ee80dda0 (patch)
tree9f25883df7d42d8ec2db8d569b8ae27619e5da5d /launcher/minecraft/auth/flows
parent5adcc26190b82dc9c1050452645d762f5e8b5a5e (diff)
downloadPrismLauncher-8bcbe07c87ee4b776d9ba743bb598f22ee80dda0.tar.gz
PrismLauncher-8bcbe07c87ee4b776d9ba743bb598f22ee80dda0.tar.bz2
PrismLauncher-8bcbe07c87ee4b776d9ba743bb598f22ee80dda0.zip
Fix Mojang auth failing due to Mojang rejecting requests to the profile endpoint
Diffstat (limited to 'launcher/minecraft/auth/flows')
-rw-r--r--launcher/minecraft/auth/flows/Mojang.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/minecraft/auth/flows/Mojang.cpp b/launcher/minecraft/auth/flows/Mojang.cpp
index 4661dbe2..b86b0936 100644
--- a/launcher/minecraft/auth/flows/Mojang.cpp
+++ b/launcher/minecraft/auth/flows/Mojang.cpp
@@ -1,7 +1,7 @@
#include "Mojang.h"
#include "minecraft/auth/steps/YggdrasilStep.h"
-#include "minecraft/auth/steps/MinecraftProfileStep.h"
+#include "minecraft/auth/steps/MinecraftProfileStepMojang.h"
#include "minecraft/auth/steps/MigrationEligibilityStep.h"
#include "minecraft/auth/steps/GetSkinStep.h"
@@ -10,7 +10,7 @@ MojangRefresh::MojangRefresh(
QObject *parent
) : AuthFlow(data, parent) {
m_steps.append(new YggdrasilStep(m_data, QString()));
- m_steps.append(new MinecraftProfileStep(m_data));
+ m_steps.append(new MinecraftProfileStepMojang(m_data));
m_steps.append(new MigrationEligibilityStep(m_data));
m_steps.append(new GetSkinStep(m_data));
}
@@ -21,7 +21,7 @@ MojangLogin::MojangLogin(
QObject *parent
): AuthFlow(data, parent), m_password(password) {
m_steps.append(new YggdrasilStep(m_data, m_password));
- m_steps.append(new MinecraftProfileStep(m_data));
+ m_steps.append(new MinecraftProfileStepMojang(m_data));
m_steps.append(new MigrationEligibilityStep(m_data));
m_steps.append(new GetSkinStep(m_data));
}