From 863ebe421cf905bd26427f76124da675a9b89737 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Fri, 14 Jun 2024 16:38:41 +0300 Subject: [PATCH] randomize server port Signed-off-by: Trial97 --- launcher/minecraft/auth/steps/MSAStep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/minecraft/auth/steps/MSAStep.cpp b/launcher/minecraft/auth/steps/MSAStep.cpp index b47a10583..2b8a02186 100644 --- a/launcher/minecraft/auth/steps/MSAStep.cpp +++ b/launcher/minecraft/auth/steps/MSAStep.cpp @@ -89,7 +89,7 @@ MSAStep::MSAStep(AccountData* data, bool silent) : AuthStep(data), m_silent(sile QFile::exists(FS::PathCombine(APPLICATION->root(), "portable.txt")) || !isSchemeHandlerRegistered()) { - auto replyHandler = new QOAuthHttpServerReplyHandler(1337, this); + auto replyHandler = new QOAuthHttpServerReplyHandler(0, this); replyHandler->setCallbackText(R"XXX(