mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Mark credentials as valid if there is no error
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
35e8d0437d
commit
ef2d113930
1 changed files with 4 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue