diff --git a/src/core/client/account/test/__snapshots__/resetPassword.spec.tsx.snap b/src/core/client/account/test/__snapshots__/resetPassword.spec.tsx.snap index 8d229091f..8ae501e8e 100644 --- a/src/core/client/account/test/__snapshots__/resetPassword.spec.tsx.snap +++ b/src/core/client/account/test/__snapshots__/resetPassword.spec.tsx.snap @@ -57,11 +57,15 @@ Make sure it is unique and be sure to keep it secure. className="PasswordField-wrapper" > diff --git a/src/core/client/admin/routes/Configure/sections/Auth/ClientSecretField.tsx b/src/core/client/admin/routes/Configure/sections/Auth/ClientSecretField.tsx index 982459287..8008e7c1a 100644 --- a/src/core/client/admin/routes/Configure/sections/Auth/ClientSecretField.tsx +++ b/src/core/client/admin/routes/Configure/sections/Auth/ClientSecretField.tsx @@ -4,7 +4,7 @@ import React, { FunctionComponent } from "react"; import { Field } from "react-final-form"; import { Validator } from "coral-framework/lib/validation"; -import { FormField, InputLabel, TextField } from "coral-ui/components"; +import { FormField, InputLabel, PasswordField } from "coral-ui/components"; import ValidationMessage from "../../ValidationMessage"; @@ -31,15 +31,14 @@ const ClientSecretField: FunctionComponent = ({ > {({ input, meta }) => ( <> - {meta.touched && (meta.error || meta.submitError) && ( diff --git a/src/core/client/admin/routes/Configure/sections/Auth/SSOKeyField.tsx b/src/core/client/admin/routes/Configure/sections/Auth/SSOKeyField.tsx index 34e506eda..86272d0b6 100644 --- a/src/core/client/admin/routes/Configure/sections/Auth/SSOKeyField.tsx +++ b/src/core/client/admin/routes/Configure/sections/Auth/SSOKeyField.tsx @@ -7,7 +7,7 @@ import { FormField, Icon, InputLabel, - TextField, + PasswordField, Typography, } from "coral-ui/components"; @@ -31,7 +31,14 @@ const SSOKeyField: FunctionComponent = ({ Key - +