Fix deleteKeychainEntries: Stay consistent with job->setInsecureFallback(false)

We never fall back to the insecure variant in the whole codebase, so don't do it here.

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2019-12-08 01:59:50 +01:00 коммит произвёл Michael Schuster
Родитель b15eb27aa9
Коммит 5869b93acb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -691,7 +691,7 @@ void WebFlowCredentials::deleteKeychainEntries(bool oldKeychainEntries) {
auto startDeleteJob = [this, oldKeychainEntries](QString user) {
DeletePasswordJob *job = new DeletePasswordJob(Theme::instance()->appName());
addSettingsToJob(_account, job);
job->setInsecureFallback(true);
job->setInsecureFallback(false);
job->setKey(keychainKey(_account->url().toString(),
user,
oldKeychainEntries ? QString() : _account->id()));