mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
on server errors, treat account as offline
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
parent
803115cfde
commit
0a3adb7912
5 changed files with 18 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ void XboxAuthorizationStep::onRequestDone(QByteArray* response)
|
|||
qCDebug(authCredentials()) << *response;
|
||||
if (m_request->error() != QNetworkReply::NoError) {
|
||||
qWarning() << "Reply error:" << m_request->error();
|
||||
if (Net::isApplicationError(m_request->error())) {
|
||||
if (Net::isApplicationError(m_request->error()) && !Net::isServerError(m_request->error())) {
|
||||
if (processSTSError(*response)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue