mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 16:28:19 +01:00
Do not log sensitive data in OAuthenticator.
This commit is contained in:
parent
973f32c061
commit
27bf50d702
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user