mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-25 06:22:03 +00:00
GH-4071 handle invalid MSA refresh token as a hard error
This commit is contained in:
parent
285188ea53
commit
859d710581
@ -1,8 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(LocalPeer)
|
||||
|
||||
find_package(Qt5Core REQUIRED QUIET)
|
||||
find_package(Qt5Network REQUIRED QUIET)
|
||||
find_package(Qt5 COMPONENTS Core Network REQUIRED)
|
||||
|
||||
set(SINGLE_SOURCES
|
||||
src/LocalPeer.cpp
|
||||
|
@ -428,6 +428,7 @@ void DeviceFlow::onRefreshError(QNetworkReply::NetworkError error, QNetworkReply
|
||||
case QNetworkReply::AuthenticationRequiredError:
|
||||
case QNetworkReply::ContentAccessDenied:
|
||||
case QNetworkReply::ContentOperationNotPermittedError:
|
||||
case QNetworkReply::ProtocolInvalidOperationError:
|
||||
updateActivity(Activity::FailedHard);
|
||||
break;
|
||||
case QNetworkReply::ContentGoneError: {
|
||||
|
Loading…
Reference in New Issue
Block a user