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