mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fixes #9255 Access Confirmation dialog should not be shown with option ConfirmAccessItem=true
This commit is contained in:
parent
a01400e88d
commit
29726e2bfd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user