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.
This commit is contained in:
Petr Mrázek 2017-09-02 13:37:12 +02:00
parent 3ed990861a
commit 6381bfdb88

View File

@ -130,6 +130,7 @@ void YggdrasilTask::processReply()
"</ul>")); "</ul>"));
return; return;
// used for invalid credentials and similar errors. Fall through. // used for invalid credentials and similar errors. Fall through.
case QNetworkReply::ContentAccessDenied:
case QNetworkReply::ContentOperationNotPermittedError: case QNetworkReply::ContentOperationNotPermittedError:
break; break;
default: default: