mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fix case of password env variable (#12120)
This commit is contained in:
parent
8eca780746
commit
c9ce848f47
@ -1,3 +1,4 @@
|
|||||||
; Extra environment variables
|
; Extra environment variables
|
||||||
|
PASSWORD=METAMASK PASSWORD
|
||||||
INFURA_PROJECT_ID=00000000000
|
INFURA_PROJECT_ID=00000000000
|
||||||
SEGMENT_WRITE_KEY=
|
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.
|
- 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)
|
- 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
|
### Running Unit Tests and Linting
|
||||||
|
|
||||||
Run unit tests and the linter with `yarn test`.
|
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));
|
this.memStore.subscribe(this.sendUpdate.bind(this));
|
||||||
|
|
||||||
const password = process.env.CONF?.password;
|
const password = process.env.CONF?.PASSWORD;
|
||||||
if (
|
if (
|
||||||
password &&
|
password &&
|
||||||
!this.isUnlocked() &&
|
!this.isUnlocked() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user