mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
Merge pull request #7468 from nextcloud/bugfix/delete-proxypass-whenempty
This commit is contained in:
commit
c0ffd38778
1 changed files with 2 additions and 0 deletions
|
@ -363,6 +363,8 @@ void AccountManager::saveAccountHelper(Account *acc, QSettings &settings, bool s
|
|||
connect(job, &QKeychain::Job::finished, this, [](const QKeychain::Job *const incomingJob) {
|
||||
if (incomingJob->error() == QKeychain::NoError) {
|
||||
qCInfo(lcAccountManager) << "Deleted proxy password from keychain";
|
||||
} else if (incomingJob->error() == QKeychain::EntryNotFound) {
|
||||
qCDebug(lcAccountManager) << "Proxy password not found in keychain, can't delete";
|
||||
} else {
|
||||
qCWarning(lcAccountManager) << "Failed to delete proxy password to keychain" << incomingJob->errorString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue