Skip to content

Commit

Permalink
wallet-ext: session storage use static secret for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
pchrysochoidis committed Nov 10, 2022
1 parent ea8528c commit da3853d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/wallet/configs/webpack/webpack.config.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ const commonConfig: () => Promise<Configuration> = async () => {
// 'typeof window': JSON.stringify(typeof {}),
'process.env.NODE_DEBUG': false,
'process.env.WALLET_KEYRING_PASSWORD': JSON.stringify(
Buffer.from(randomBytes(64)).toString('hex')
IS_DEV
? 'DEV_PASS'
: Buffer.from(randomBytes(64)).toString('hex')
),
'process.env.WALLET_BETA': WALLET_BETA,
'process.env.APP_NAME': JSON.stringify(APP_NAME),
Expand Down

0 comments on commit da3853d

Please sign in to comment.