diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-02-27 14:30:57 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-02-27 16:19:23 +0100 |
| commit | c698ef90c1fbc30965c9fa9656254a8c97b7dbb9 (patch) | |
| tree | 5c9adb219de8aa6b0b65ce1052eadea6166f1831 /app | |
| parent | ce7f78de68c7dd1aaf9e4aeed969e2e58b91621e (diff) | |
| download | mullvadvpn-c698ef90c1fbc30965c9fa9656254a8c97b7dbb9.tar.xz mullvadvpn-c698ef90c1fbc30965c9fa9656254a8c97b7dbb9.zip | |
Use the entire account history to redact logs
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/Support.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/components/Support.js b/app/components/Support.js index 1d15229f99..9b37f85f4e 100644 --- a/app/components/Support.js +++ b/app/components/Support.js @@ -58,15 +58,11 @@ export default class Support extends Component<SupportProps, SupportState> { } _getLog(): Promise<string> { - const toRedact = []; - if (this.props.account.accountToken) { - toRedact.push(this.props.account.accountToken.toString()); - } - + const accountsToRedact = this.props.account.accountHistory; const { savedReport } = this.state; return savedReport ? Promise.resolve(savedReport) : - this.props.onCollectLog(toRedact) + this.props.onCollectLog(accountsToRedact) .then( path => { return new Promise(resolve => this.setState({ savedReport: path }, () => resolve(path))); }); |
