5 Commits

Author SHA1 Message Date
1f2b7b1e45 fix enableOTP handling to match docs: prioritize store, then extension config 2022-11-06 01:53:32 -07:00
92060876c9 getSetting: add an optional scope parameter
settings are stored in 3 places:
- login (.gpg file)
- store (.browserpass-settings.json)
- extension-level config (browser UI)

but we don't want each setting to be settable everywhere, so scope
allows one to control which of these 3 places to search for a given
setting.
2022-11-06 01:49:01 -07:00
c796967226 export SettingScope (define it above the exports) 2022-11-06 01:06:28 -07:00
73a405c008 define SettingScope 2022-11-06 00:38:37 -07:00
4c7d3533a3 refactor: move getSetting from background.js -> helpers.js
this is because i plan to use it in `detailsInterface.js`
2022-11-05 23:55:38 -07:00

Diff Content Not Available