feat: skip2fa option on .env

This commit is contained in:
Rafael Taranto 2025-05-13 14:46:36 +01:00
parent ed6833182b
commit 1036771951
4 changed files with 10 additions and 0 deletions

View file

@ -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,
}