From 9db3ded793d1447eaa0cad33b0eae8c6271845de Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Wed, 21 Sep 2022 14:44:13 +0500 Subject: [PATCH] fix: changed client secret input type to password (#351) * fix: changed client secret input type to password * fix: made secret not required field --- src/pages-and-resources/live/LiveCommonFields.jsx | 2 +- src/pages-and-resources/live/Settings.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages-and-resources/live/LiveCommonFields.jsx b/src/pages-and-resources/live/LiveCommonFields.jsx index e19ee4c5d..34abeca4c 100644 --- a/src/pages-and-resources/live/LiveCommonFields.jsx +++ b/src/pages-and-resources/live/LiveCommonFields.jsx @@ -23,7 +23,7 @@ function LiveCommonFields({ value={values.consumerSecret} floatingLabel={intl.formatMessage(messages.consumerSecret)} className="pb-1" - type="input" + type="password" /> provider === 'zoom' || (provider === 'big_blue_button' && tier === bbbPlanTypes.commercial), - then: Yup.string().required(intl.formatMessage(messages.consumerSecretRequired)), + then: Yup.string().notRequired(intl.formatMessage(messages.consumerSecretRequired)), }), launchUrl: Yup.string().when(['provider', 'tierType'], { is: (provider, tier) => provider === 'zoom' || (provider === 'big_blue_button' && tier === bbbPlanTypes.commercial),