aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimoreo22 <timo.oreo34@gmail.com>2022-05-02 10:45:58 +0200
committerGitHub <noreply@github.com>2022-05-02 10:45:58 +0200
commit546d394868b03e3a7b7a83692d2346176608d27c (patch)
tree4241a4869ad8164e026d9a870261370e78481b70
parent8110040f869aa784065f184feaa339d73e11757e (diff)
parentb3e1691c017d8d791f2f66411fc634e6bfc330d0 (diff)
downloadPrismLauncher-546d394868b03e3a7b7a83692d2346176608d27c.tar.gz
PrismLauncher-546d394868b03e3a7b7a83692d2346176608d27c.tar.bz2
PrismLauncher-546d394868b03e3a7b7a83692d2346176608d27c.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