diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-11-09 12:38:07 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-11-09 12:53:41 +0100 |
| commit | 075f22daad44128a0fd08f0b2c38d205c490d57a (patch) | |
| tree | 538b476537577152b632f6b74a2fb4081db26187 /app/containers | |
| parent | 07584089561a99be78590c803e891cecbdd91697 (diff) | |
| download | mullvadvpn-075f22daad44128a0fd08f0b2c38d205c490d57a.tar.xz mullvadvpn-075f22daad44128a0fd08f0b2c38d205c490d57a.zip | |
Redact account token from logs
Diffstat (limited to 'app/containers')
| -rw-r--r-- | app/containers/SupportPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/containers/SupportPage.js b/app/containers/SupportPage.js index e57985d7d3..4d802183d7 100644 --- a/app/containers/SupportPage.js +++ b/app/containers/SupportPage.js @@ -35,12 +35,12 @@ const mapDispatchToProps = (dispatch, _props) => { return { onClose: () => dispatch(push('/settings')), - onCollectLog: () => { + onCollectLog: (toRedact) => { return new Promise((resolve, reject) => { const id = uuid.v4(); unAnsweredIpcCalls.set(id, { resolve, reject }); - ipcRenderer.send('collect-logs', id); + ipcRenderer.send('collect-logs', id, toRedact); setTimeout(() => reapIpcCall(id), 1000); }) .catch((e) => { |
