From 5227f61848438581f8510268c1a6a03a9e3fdb8a Mon Sep 17 00:00:00 2001 From: louib Date: Mon, 3 Oct 2022 22:08:33 -0400 Subject: [PATCH] Fix double yubikey interaction --- src/cli/DatabaseEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/DatabaseEdit.cpp b/src/cli/DatabaseEdit.cpp index 737b4bf162..3369110e07 100644 --- a/src/cli/DatabaseEdit.cpp +++ b/src/cli/DatabaseEdit.cpp @@ -79,7 +79,7 @@ int DatabaseEdit::executeWithDatabase(QSharedPointer database, QShared err << QObject::tr("Could not change the database key.") << endl; return EXIT_FAILURE; } - database->setKey(newDatabaseKey); + database->setKey(newDatabaseKey, true, true, false); databaseWasChanged = true; }