summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth2authorizationcodeflow.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@qt.io>2024-10-03 14:24:21 +0300
committerJuha Vuolle <juha.vuolle@qt.io>2024-10-04 09:57:38 +0300
commite5dcbbcfb16a36ad6eb972e491bd7223a8fdd5f5 (patch)
tree74bb63fdb8bbe8ec4fd8af7c94048479416afffc /src/oauth/qoauth2authorizationcodeflow.cpp
parent5ede0bd9ce80af922e33ce0f17189c8d4c62104b (diff)
Refrain from logging authorization URL
As a general practice it's better not to log anything that may contain sensitive data. Pick-to: 6.8 6.7 6.5 Change-Id: I478d9bd7085815b84037c9d28721829288192b45 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
-rw-r--r--src/oauth/qoauth2authorizationcodeflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp
index bc5fef4..f86bd58 100644
--- a/src/oauth/qoauth2authorizationcodeflow.cpp
+++ b/src/oauth/qoauth2authorizationcodeflow.cpp
@@ -550,7 +550,7 @@ QUrl QOAuth2AuthorizationCodeFlow::buildAuthenticateUrl(const QMultiMap<QString,
connect(replyHandler(), &QAbstractOAuthReplyHandler::callbackReceived, this,
&QOAuth2AuthorizationCodeFlow::authorizationCallbackReceived, Qt::UniqueConnection);
setStatus(QAbstractOAuth::Status::NotAuthenticated);
- qCDebug(d->loggingCategory, "Generated URL: %s", qPrintable(url.toString()));
+ qCDebug(d->loggingCategory, "Authorization URL generated");
return url;
}