aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/flows/Mojang.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-25 21:55:00 +0200
committerGitHub <noreply@github.com>2022-04-25 21:55:00 +0200
commitaad7c6328270a556212401c8ac3ba12ff7aa0174 (patch)
treed7f62de6facc57c016292364c81492eb826d9d99 /launcher/minecraft/auth/flows/Mojang.cpp
parent52454ca77b200943055fc637409a08b04cb07c7b (diff)
parent1ff459d995f685aa5a83fe2c1c4b8f0f3b56ed03 (diff)
downloadPrismLauncher-aad7c6328270a556212401c8ac3ba12ff7aa0174.tar.gz
PrismLauncher-aad7c6328270a556212401c8ac3ba12ff7aa0174.tar.bz2
PrismLauncher-aad7c6328270a556212401c8ac3ba12ff7aa0174.zip
Merge pull request #482 from TheCodex6824/mojang-auth-fix
Diffstat (limited to 'launcher/minecraft/auth/flows/Mojang.cpp')
-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));
}