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)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(LocalPeer)
|
project(LocalPeer)
|
||||||
|
|
||||||
find_package(Qt5Core REQUIRED QUIET)
|
find_package(Qt5 COMPONENTS Core Network REQUIRED)
|
||||||
find_package(Qt5Network REQUIRED QUIET)
|
|
||||||
|
|
||||||
set(SINGLE_SOURCES
|
set(SINGLE_SOURCES
|
||||||
src/LocalPeer.cpp
|
src/LocalPeer.cpp
|
||||||
|
@ -428,6 +428,7 @@ void DeviceFlow::onRefreshError(QNetworkReply::NetworkError error, QNetworkReply
|
|||||||
case QNetworkReply::AuthenticationRequiredError:
|
case QNetworkReply::AuthenticationRequiredError:
|
||||||
case QNetworkReply::ContentAccessDenied:
|
case QNetworkReply::ContentAccessDenied:
|
||||||
case QNetworkReply::ContentOperationNotPermittedError:
|
case QNetworkReply::ContentOperationNotPermittedError:
|
||||||
|
case QNetworkReply::ProtocolInvalidOperationError:
|
||||||
updateActivity(Activity::FailedHard);
|
updateActivity(Activity::FailedHard);
|
||||||
break;
|
break;
|
||||||
case QNetworkReply::ContentGoneError: {
|
case QNetworkReply::ContentGoneError: {
|
||||||
|
Loading…
Reference in New Issue
Block a user