1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fix case of password env variable (#12120)

This commit is contained in:
Jyoti Puri 2021-09-21 23:27:24 +05:30 committed by GitHub
parent 8eca780746
commit c9ce848f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
; Extra environment variables
PASSWORD=METAMASK PASSWORD
INFURA_PROJECT_ID=00000000000
SEGMENT_WRITE_KEY=

View File

@ -42,6 +42,8 @@ To start the [React DevTools](https://github.com/facebook/react-devtools) and [R
- Redux DevTools will need to be installed as a browser extension. Open the Redux Remote Devtools to access Redux state logs. This can be done by either right clicking within the web browser to bring up the context menu, expanding the Redux DevTools panel and clicking Open Remote DevTools OR clicking the Redux DevTools extension icon and clicking Open Remote DevTools.
- You will also need to check the "Use custom (local) server" checkbox in the Remote DevTools Settings, using the default server configuration (host `localhost`, port `8000`, secure connection checkbox unchecked)
[Test site](https://metamask.github.io/test-dapp/) can be used to execute different user flows.
### Running Unit Tests and Linting
Run unit tests and the linter with `yarn test`.

View File

@ -623,7 +623,7 @@ export default class MetamaskController extends EventEmitter {
});
this.memStore.subscribe(this.sendUpdate.bind(this));
const password = process.env.CONF?.password;
const password = process.env.CONF?.PASSWORD;
if (
password &&
!this.isUnlocked() &&