aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/flows/AuthContext.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-11-17 13:20:10 +0100
committerPetr Mrázek <peterix@gmail.com>2021-11-17 13:20:50 +0100
commiteafeb64decf9fa3b4ae9617abc777698e51b24d0 (patch)
tree0c6ec881313803e793e5850fb420b6254e432ba8 /launcher/minecraft/auth/flows/AuthContext.cpp
parent0022aed8bb03c21ca6828092f7f4c5655699f9a9 (diff)
downloadPrismLauncher-eafeb64decf9fa3b4ae9617abc777698e51b24d0.tar.gz
PrismLauncher-eafeb64decf9fa3b4ae9617abc777698e51b24d0.tar.bz2
PrismLauncher-eafeb64decf9fa3b4ae9617abc777698e51b24d0.zip
NOISSUE qnam -> network
Diffstat (limited to 'launcher/minecraft/auth/flows/AuthContext.cpp')
-rw-r--r--launcher/minecraft/auth/flows/AuthContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/auth/flows/AuthContext.cpp b/launcher/minecraft/auth/flows/AuthContext.cpp
index 349fda4b..39f14b26 100644
--- a/launcher/minecraft/auth/flows/AuthContext.cpp
+++ b/launcher/minecraft/auth/flows/AuthContext.cpp
@@ -70,7 +70,7 @@ void AuthContext::initMSA() {
opts.accessTokenUrl = "https://login.microsoftonline.com/consumers/oauth2/v2.0/token";
opts.listenerPorts = {28562, 28563, 28564, 28565, 28566};
- m_oauth2 = new OAuth2(opts, m_data->msaToken, this, &ENV.qnam());
+ m_oauth2 = new OAuth2(opts, m_data->msaToken, this, &ENV.network());
m_oauth2->setGrantFlow(Katabasis::OAuth2::GrantFlowDevice);
connect(m_oauth2, &OAuth2::linkingFailed, this, &AuthContext::onOAuthLinkingFailed);