summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-09-02 13:37:12 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-02 13:37:12 +0200
commit6381bfdb885def3e532ffae640bb55e5b249819c (patch)
tree169376b6c6993720c2f04bd33b2c0be86d4c61cb
parent3ed990861a52f090d355555d5f5d3b76a9b4608c (diff)
downloadMultiMC-6381bfdb885def3e532ffae640bb55e5b249819c.tar
MultiMC-6381bfdb885def3e532ffae640bb55e5b249819c.tar.gz
MultiMC-6381bfdb885def3e532ffae640bb55e5b249819c.tar.lz
MultiMC-6381bfdb885def3e532ffae640bb55e5b249819c.tar.xz
MultiMC-6381bfdb885def3e532ffae640bb55e5b249819c.zip
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.
-rw-r--r--api/logic/minecraft/auth/YggdrasilTask.cpp1
1 files changed, 1 insertions, 0 deletions
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()
"</ul>"));
return;
// used for invalid credentials and similar errors. Fall through.
+ case QNetworkReply::ContentAccessDenied:
case QNetworkReply::ContentOperationNotPermittedError:
break;
default: