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
55ca5ca34c
commit
4ea0a1058c
@ -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