export SettingScope
(define it above the exports)
This commit is contained in:
@@ -8,19 +8,20 @@ const hash = require("hash.js");
|
||||
const Authenticator = require("otplib").authenticator.Authenticator;
|
||||
const BrowserpassURL = require("@browserpass/url");
|
||||
|
||||
const SettingScope = {
|
||||
// query a setting first from the login, then the store, then globally
|
||||
Login: "login",
|
||||
// query a setting first from the store, then globally
|
||||
Store: "store",
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
prepareLogins,
|
||||
filterSortLogins,
|
||||
getSetting,
|
||||
ignoreFiles,
|
||||
makeTOTP,
|
||||
};
|
||||
|
||||
const SettingScope = {
|
||||
// query a setting first from the login, then the store, then globally
|
||||
Login: "login",
|
||||
// query a setting first from the store, then globally
|
||||
Store: "store",
|
||||
SettingScope,
|
||||
};
|
||||
|
||||
//----------------------------------- Function definitions ----------------------------------//
|
||||
|
Reference in New Issue
Block a user