mirror of
https://github.com/twofas/2fas-browser-extension.git
synced 2024-11-22 02:00:08 +01:00
#1458 AutoSubmit - default domain list in separate file
This commit is contained in:
parent
686ec1c008
commit
f52545d361
@ -23,6 +23,7 @@ const { clearLocalStorage, loadFromLocalStorage, saveToLocalStorage } = require(
|
||||
const SDK = require('../../sdk');
|
||||
const Crypt = require('./Crypt');
|
||||
const storeLog = require('../../partials/storeLog');
|
||||
const defaultAutoSubmitExcludedDomains = require('../../defaultAutoSubmitExcludedDomains');
|
||||
|
||||
const generateDefaultStorage = browserInfo => {
|
||||
const crypt = new Crypt();
|
||||
@ -58,7 +59,7 @@ const generateDefaultStorage = browserInfo => {
|
||||
nativePush: (process.env.EXT_PLATFORM !== 'Safari'),
|
||||
pinInfo: false,
|
||||
extensionVersion: config.ExtensionVersion,
|
||||
autoSubmitExcludedDomains: [],
|
||||
autoSubmitExcludedDomains: defaultAutoSubmitExcludedDomains,
|
||||
attempt: attempt + 1
|
||||
});
|
||||
})
|
||||
|
22
src/defaultAutoSubmitExcludedDomains.js
Normal file
22
src/defaultAutoSubmitExcludedDomains.js
Normal file
@ -0,0 +1,22 @@
|
||||
//
|
||||
// This file is part of the 2FAS Browser Extension (https://github.com/twofas/2fas-browser-extension)
|
||||
// Copyright © 2023 Two Factor Authentication Service, Inc.
|
||||
// Contributed by Grzegorz Zając. All rights reserved.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
//
|
||||
|
||||
const defaultAutoSubmitExcludedDomains = [];
|
||||
|
||||
module.exports = defaultAutoSubmitExcludedDomains;
|
Loading…
Reference in New Issue
Block a user