mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Only deauth on 401
This commit is contained in:
@@ -181,8 +181,9 @@ HatchetAccountConfig::authError( const QString &error, int statusCode, const QVa
|
|||||||
m_ui->loginButton->setText( tr("Continue") );
|
m_ui->loginButton->setText( tr("Continue") );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_account->deauthenticate();
|
if ( statusCode == 401 )
|
||||||
QMessageBox::critical( this, "An error was encountered logging in:", error );
|
m_account->deauthenticate();
|
||||||
|
QMessageBox::critical( this, "An error was encountered:", error );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user