Mark credentials as valid if there is no error

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-05-01 22:07:16 +02:00
parent 35e8d0437d
commit ef2d113930
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -219,6 +219,10 @@ void WebFlowCredentials::slotAuthentication(QNetworkReply *reply, QAuthenticator
void WebFlowCredentials::slotFinished(QNetworkReply *reply) {
qCInfo(lcWebFlowCredentials()) << "request finished";
if (reply->error() == QNetworkReply::NoError) {
_credentialsValid = true;
}
}
void WebFlowCredentials::fetchFromKeychainHelper() {