aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimoreo22 <timo.oreo34@gmail.com>2022-05-02 10:45:58 +0200
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-05-08 16:56:26 +0200
commitcab40026f2a1253539d0d8e363f1aea32b054bd1 (patch)
treecf421964d250b061f78e39b579e270e8f8843629
parentac66bddeda955db5e81077ddd2116e8ae51edf52 (diff)
downloadPrismLauncher-cab40026f2a1253539d0d8e363f1aea32b054bd1.tar.gz
PrismLauncher-cab40026f2a1253539d0d8e363f1aea32b054bd1.tar.bz2
PrismLauncher-cab40026f2a1253539d0d8e363f1aea32b054bd1.zip
Merge pull request #475 from Scrumplex/fix-hide-all-tokens
Hide all tokens for non-Debug builds for log and logfiles
-rw-r--r--launcher/minecraft/auth/steps/LauncherLoginStep.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/steps/LauncherLoginStep.cpp b/launcher/minecraft/auth/steps/LauncherLoginStep.cpp
index c978bd07..f5697223 100644
--- a/launcher/minecraft/auth/steps/LauncherLoginStep.cpp
+++ b/launcher/minecraft/auth/steps/LauncherLoginStep.cpp
@@ -50,7 +50,9 @@ void LauncherLoginStep::onRequestDone(
auto requestor = qobject_cast<AuthRequest *>(QObject::sender());
requestor->deleteLater();
+#ifndef NDEBUG
qDebug() << data;
+#endif
if (error != QNetworkReply::NoError) {
qWarning() << "Reply error:" << error;
#ifndef NDEBUG