Skip to content

Commit

Permalink
[Uptime] [Synthetics Integration] update tls passphrase and http pass…
Browse files Browse the repository at this point in the history
…word field to use EuiFieldPassword (#100162)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
dominiqueclarke and kibanamachine authored May 16, 2021
1 parent ea8c92b commit 5e410f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
EuiDescribedFormGroup,
EuiCheckbox,
EuiSpacer,
EuiFieldPassword,
} from '@elastic/eui';

import { useHTTPAdvancedFieldsContext } from './contexts';
Expand Down Expand Up @@ -110,7 +111,7 @@ export const HTTPAdvancedFields = memo<Props>(({ validate }) => {
/>
}
>
<EuiFieldText
<EuiFieldPassword
value={fields[ConfigKeys.PASSWORD]}
onChange={(event) =>
handleInputChange({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import {
EuiComboBox,
EuiComboBoxOptionOption,
EuiFormRow,
EuiFieldText,
EuiTextArea,
EuiFormFieldset,
EuiSelect,
EuiScreenReaderOnly,
EuiSpacer,
EuiFieldPassword,
} from '@elastic/eui';

import { useTLSFieldsContext } from './contexts';
Expand Down Expand Up @@ -333,7 +333,7 @@ export const TLSFields: React.FunctionComponent<{
}
labelAppend={<OptionalLabel />}
>
<EuiFieldText
<EuiFieldPassword
value={fields[ConfigKeys.TLS_KEY_PASSPHRASE].value}
onChange={(event) => {
const value = event.target.value;
Expand Down

0 comments on commit 5e410f5

Please sign in to comment.