diff --git a/src/fdosecrets/objects/Prompt.cpp b/src/fdosecrets/objects/Prompt.cpp index bd01de89c..e89cd499b 100644 --- a/src/fdosecrets/objects/Prompt.cpp +++ b/src/fdosecrets/objects/Prompt.cpp @@ -23,6 +23,7 @@ #include "fdosecrets/objects/Session.h" #include "fdosecrets/widgets/AccessControlDialog.h" +#include "FdoSecretsSettings.h" #include "core/Entry.h" #include "gui/MessageBox.h" @@ -298,7 +299,7 @@ namespace FdoSecrets } auto entry = item->backend(); auto uuid = entry->uuid(); - if (client->itemKnown(uuid)) { + if (client->itemKnown(uuid) || !FdoSecrets::settings()->confirmAccessItem()) { if (!client->itemAuthorized(uuid)) { m_numRejected += 1; }