mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-07 18:14:41 +02:00
NOISSUE correctly set http status code in auth reply
This commit is contained in:
parent
ddfed7bb87
commit
54e3438e37
@ -44,7 +44,7 @@ void AuthRequest::onRequestFinished() {
|
|||||||
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
|
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
httpStatus_ = 200;
|
httpStatus_ = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user