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…
Reference in New Issue
Block a user