From 27bf50d702c539e070902ab1d0575fe41bba375b Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 27 Feb 2017 12:41:08 +0000 Subject: [PATCH] Do not log sensitive data in OAuthenticator. --- src/internet/core/oauthenticator.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/internet/core/oauthenticator.cpp b/src/internet/core/oauthenticator.cpp index a1e0b590f..afada16dc 100644 --- a/src/internet/core/oauthenticator.cpp +++ b/src/internet/core/oauthenticator.cpp @@ -80,7 +80,6 @@ void OAuthenticator::StartAuthorisation(const QString& oauth_endpoint, void OAuthenticator::RedirectArrived(LocalRedirectServer* server, QUrl url) { server->deleteLater(); QUrl request_url = server->request_url(); - qLog(Debug) << Q_FUNC_INFO << request_url; RequestAccessToken(request_url.queryItemValue("code").toUtf8(), url); } @@ -139,8 +138,6 @@ void OAuthenticator::FetchAccessTokenFinished(QNetworkReply* reply) { return; } - qLog(Debug) << result; - access_token_ = result["access_token"].toString(); refresh_token_ = result["refresh_token"].toString(); SetExpiryTime(result["expires_in"].toInt());