feat: skip2fa option on .env
This commit is contained in:
parent
ed6833182b
commit
1036771951
4 changed files with 10 additions and 0 deletions
|
|
@ -13,9 +13,12 @@ function isRemoteWallet(crypto) {
|
|||
return process.env[`${crypto.cryptoCode}_WALLET_LOCATION`] === 'remote'
|
||||
}
|
||||
|
||||
const skip2fa = process.env.SKIP_2FA === 'true'
|
||||
|
||||
module.exports = {
|
||||
isDevMode,
|
||||
isProdMode,
|
||||
isRemoteNode,
|
||||
isRemoteWallet,
|
||||
skip2fa,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue