deleted the browser extension setting

This commit is contained in:
antelle 2021-04-13 20:27:07 +02:00
parent e865d80a63
commit ad20698a42
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 2 additions and 15 deletions

View File

@ -15,7 +15,7 @@ let processingBrowserMessage = false;
const MaxIncomingDataLength = 10_000;
const BrowserExtensionConnector = {
enabled: false,
enabled: true,
logger,
connectedClients,
@ -25,19 +25,7 @@ const BrowserExtensionConnector = {
this.browserWindowMessage = this.browserWindowMessage.bind(this);
AppSettingsModel.on('change:browserExtension', (model, enabled) => {
this.enabled = enabled;
if (enabled) {
this.start();
} else {
this.stop();
}
});
if (AppSettingsModel.browserExtension) {
this.enabled = true;
this.start();
}
this.start();
},
start() {

View File

@ -47,7 +47,6 @@ const DefaultAppSettings = {
deviceOwnerAuthTimeoutMinutes: 0, // how often master password is required with Touch ID
disableOfflineStorage: false, // don't cache loaded files in offline storage
shortLivedStorageToken: false, // short-lived sessions in cloud storage providers
browserExtension: false, // support browser extension interaction
yubiKeyShowIcon: true, // show an icon to open OTP codes from YubiKey
yubiKeyAutoOpen: false, // auto-load one-time codes when there are open files