mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
Don't output secrets in log.
This commit is contained in:
committed by
Michael Zanetti
parent
56dd8e2572
commit
612d8874df
@@ -622,7 +622,8 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
|
|||||||
tDebug() << "beginGroup" << QString( "accounts/%1" ).arg( account );
|
tDebug() << "beginGroup" << QString( "accounts/%1" ).arg( account );
|
||||||
beginGroup( QString( "accounts/%1" ).arg( account ) );
|
beginGroup( QString( "accounts/%1" ).arg( account ) );
|
||||||
const QVariantHash creds = value( "credentials" ).toHash();
|
const QVariantHash creds = value( "credentials" ).toHash();
|
||||||
tDebug() << creds;
|
tDebug() << creds[ "username" ]
|
||||||
|
<< ( creds[ "password" ].isNull() ? ", no password" : ", has password" );
|
||||||
|
|
||||||
if ( !creds.isEmpty() )
|
if ( !creds.isEmpty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user