chore: log rpc credentials in dev mode

This commit is contained in:
George Lima 2019-01-08 11:34:20 -03:00
parent 9b8c4aff4c
commit 0cdab5071f
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ const runDaemon: () => Promise<?ChildProcess> = () => new Promise(async (resolve
password: generateRandomString(),
};
if (isDev) log('Rpc Credentials', rpcCredentials);
if (!hasCredentials) {
store.set('rpcuser', rpcCredentials.username);
store.set('rpcpassword', rpcCredentials.password);