From acf126a0a1cf7306d0937d605a61a29ea057b60c Mon Sep 17 00:00:00 2001 From: itowlson Date: Tue, 20 Aug 2019 12:55:09 +1200 Subject: [PATCH] Hide credential values (#69) --- app/components/Installer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Installer.tsx b/app/components/Installer.tsx index ac09543..13b724a 100644 --- a/app/components/Installer.tsx +++ b/app/components/Installer.tsx @@ -159,7 +159,6 @@ export default class Installer extends React.Component {
Install as
- {...this.installationNameValidityPanel()} @@ -266,11 +265,12 @@ export default class Installer extends React.Component { // TODO: form items should have unique names - unfortunately the change handlers currently // use the sender name to key into the credentials object so probably better to change them // to use key or something instead + const inputType = (this.state.credentialValues[credential.name].kind === 'value') ? 'password' : 'text'; const opts = this.credentialSourceKinds.map((v) => ({ text: this.credentialSourceKindText(v), value: v })); return ( - + ); }