1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02:00

Don't output secrets in log.

This commit is contained in:
Teo Mrnjavac
2013-06-22 12:47:07 +02:00
committed by Michael Zanetti
parent 56dd8e2572
commit 612d8874df

View File

@@ -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() )
{