From 338e8c184a280d4d44c35e0fc7c4f29f22bb1de5 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 21 Jun 2023 09:44:20 +0200 Subject: [PATCH] Shelly: Don't print password in debug logs Fixes: #707 --- shelly/integrationpluginshelly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shelly/integrationpluginshelly.cpp b/shelly/integrationpluginshelly.cpp index 0322b08c..448954dd 100644 --- a/shelly/integrationpluginshelly.cpp +++ b/shelly/integrationpluginshelly.cpp @@ -1358,7 +1358,7 @@ void IntegrationPluginShelly::setupGen1(ThingSetupInfo *info) url.setQuery(query); QNetworkRequest request(url); - qCDebug(dcShelly()) << "Connecting to" << url.toString(); + qCDebug(dcShelly()) << "Connecting to" << url.toString(QUrl::RemovePassword); QNetworkReply *reply = hardwareManager()->networkManager()->get(request); connect(reply, &QNetworkReply::finished, reply, &QNetworkReply::deleteLater); connect(reply, &QNetworkReply::finished, info, [this, info, reply, address, rollerMode](){