Fix case of password env variable (#12120)

feature/default_network_editable
Jyoti Puri 3 years ago committed by GitHub
parent 8eca780746
commit c9ce848f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .metamaskrc.dist
  2. 2
      README.md
  3. 2
      app/scripts/metamask-controller.js

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

@ -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`.

@ -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() &&

Loading…
Cancel
Save