From bf93ac6f0b03c5055c648831333ae11ac241481b Mon Sep 17 00:00:00 2001 From: KadaverBrutalo10 Date: Sun, 31 Dec 2023 17:56:42 +0100 Subject: [PATCH] fix --- launcher/ui/dialogs/MSALoginDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/launcher/ui/dialogs/MSALoginDialog.cpp b/launcher/ui/dialogs/MSALoginDialog.cpp index 8cf0cf7d..c408394a 100644 --- a/launcher/ui/dialogs/MSALoginDialog.cpp +++ b/launcher/ui/dialogs/MSALoginDialog.cpp @@ -86,6 +86,7 @@ void MSALoginDialog::showVerificationUriAndCode(const QUrl& uri, const QString& QUrl url = QUrl(uri); QUrlQuery otcQuery = QUrlQuery(url); otcQuery.addQueryItem(QString("otc"), code); + url.setQuery(otcQuery); QString urlString = url.toString(); QString linkString = QString("%2").arg(urlString, urlString);