From 612d8874dfab21d7d68297347c569bcbe735279f Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sat, 22 Jun 2013 12:47:07 +0200 Subject: [PATCH] Don't output secrets in log. --- src/libtomahawk/TomahawkSettings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/TomahawkSettings.cpp b/src/libtomahawk/TomahawkSettings.cpp index 1c6c32512..e7f14bae2 100644 --- a/src/libtomahawk/TomahawkSettings.cpp +++ b/src/libtomahawk/TomahawkSettings.cpp @@ -622,7 +622,8 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion ) tDebug() << "beginGroup" << QString( "accounts/%1" ).arg( account ); beginGroup( QString( "accounts/%1" ).arg( account ) ); const QVariantHash creds = value( "credentials" ).toHash(); - tDebug() << creds; + tDebug() << creds[ "username" ] + << ( creds[ "password" ].isNull() ? ", no password" : ", has password" ); if ( !creds.isEmpty() ) {