diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-11-26 13:16:51 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-12-03 12:02:46 +0100 |
| commit | 8b4030336874637ea3d124eabdb5378879b55c97 (patch) | |
| tree | 0487d2f2e2ebc8d49a897c318e20c3f0558c38a7 /gui | |
| parent | 25bc1230d151402070a2eefe69e7d00e7b796000 (diff) | |
| download | mullvadvpn-8b4030336874637ea3d124eabdb5378879b55c97.tar.xz mullvadvpn-8b4030336874637ea3d124eabdb5378879b55c97.zip | |
Prevent WireGuard key from being obscured in clipboard label
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/renderer/components/WireguardKeys.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/src/renderer/components/WireguardKeys.tsx b/gui/src/renderer/components/WireguardKeys.tsx index 3201e0a708..be8c043458 100644 --- a/gui/src/renderer/components/WireguardKeys.tsx +++ b/gui/src/renderer/components/WireguardKeys.tsx @@ -242,7 +242,11 @@ export default class WireguardKeys extends React.Component<IProps, IState> { const publicKey = this.props.keyState.key.publicKey; return ( <StyledRowValue title={this.props.keyState.key.publicKey}> - <ClipboardLabel value={publicKey} displayValue={publicKey.substring(0, 20) + '...'} /> + <ClipboardLabel + value={publicKey} + displayValue={publicKey.substring(0, 20) + '...'} + obscureValue={false} + /> </StyledRowValue> ); } |
