NOISSUE correctly set http status code in auth reply
This commit is contained in:
parent
c1bf31cb27
commit
aa770b63fb
@ -44,7 +44,7 @@ void AuthRequest::onRequestFinished() {
|
||||
if (reply_ != qobject_cast<QNetworkReply *>(sender())) {
|
||||
return;
|
||||
}
|
||||
httpStatus_ = 200;
|
||||
httpStatus_ = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
finish();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user