mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Hide Automatic Reconnect option (#1609)
Hide Automatic Reconnect option
This commit is contained in:
parent
884ccd53e7
commit
a037a0b656
2 changed files with 2 additions and 5 deletions
|
|
@ -51,6 +51,7 @@ page.initSettings = async function() {
|
|||
try {
|
||||
const item = await browser.storage.local.get({ 'settings': {} });
|
||||
page.settings = item.settings;
|
||||
page.settings.autoReconnect = false;
|
||||
|
||||
if (!('autoCompleteUsernames' in page.settings)) {
|
||||
page.settings.autoCompleteUsernames = defaultSettings.autoCompleteUsernames;
|
||||
|
|
@ -68,10 +69,6 @@ page.initSettings = async function() {
|
|||
page.settings.autoFillSingleEntry = defaultSettings.autoFillSingleEntry;
|
||||
}
|
||||
|
||||
if (!('autoReconnect' in page.settings)) {
|
||||
page.settings.autoReconnect = defaultSettings.autoReconnect;
|
||||
}
|
||||
|
||||
if (!('autoRetrieveCredentials' in page.settings)) {
|
||||
page.settings.autoRetrieveCredentials = defaultSettings.autoRetrieveCredentials;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Automatic reconnect -->
|
||||
<div class="form-group">
|
||||
<div class="form-group" hidden>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="autoReconnect" id="autoReconnect" value="true" />
|
||||
<label class="form-check-label" for="autoReconnect" data-i18n="optionsCheckboxAutomaticReconnect"></label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue