From 6381bfdb885def3e532ffae640bb55e5b249819c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 2 Sep 2017 13:37:12 +0200 Subject: NOISSUE handle error 201 in Auth code This is something I ran into when one of my accounts stopped working. The auth token probably expired. This should now be handled as a normal auth error, not a network failure. --- api/logic/minecraft/auth/YggdrasilTask.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'api/logic/minecraft/auth') diff --git a/api/logic/minecraft/auth/YggdrasilTask.cpp b/api/logic/minecraft/auth/YggdrasilTask.cpp index 425da76a..568ffd00 100644 --- a/api/logic/minecraft/auth/YggdrasilTask.cpp +++ b/api/logic/minecraft/auth/YggdrasilTask.cpp @@ -130,6 +130,7 @@ void YggdrasilTask::processReply() "")); return; // used for invalid credentials and similar errors. Fall through. + case QNetworkReply::ContentAccessDenied: case QNetworkReply::ContentOperationNotPermittedError: break; default: -- cgit v1.2.3