mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #773 from keepassxreboot/fix/import_settings_check
Fix import settings check
This commit is contained in:
commit
52cf4cb8e0
1 changed files with 3 additions and 3 deletions
|
|
@ -209,9 +209,9 @@ options.initGeneralSettings = function() {
|
|||
const contents = JSON.parse(e.target.result);
|
||||
|
||||
// A quick check that this is the KeePassXC-Browser settings file
|
||||
if (!contents['checkUpdateKeePassXC'] ||
|
||||
!contents['autoCompleteUsernames'] ||
|
||||
!contents['autoFillAndSend']) {
|
||||
if (contents['checkUpdateKeePassXC'] === undefined ||
|
||||
contents['autoCompleteUsernames'] === undefined ||
|
||||
contents['autoFillAndSend'] === undefined) {
|
||||
console.log('Error: Not a KeePassXC-Browser settings file.');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue