We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcecf92 commit 19dd517Copy full SHA for 19dd517
src/writeData/subscriptions/utils/form.ts
@@ -243,7 +243,7 @@ const checkNoneSelected = (form: Subscription): boolean =>
243
const checkBasicSelected = (form: Subscription): boolean =>
244
form.authType === BrokerAuthTypes.User &&
245
!!form.brokerUsername &&
246
- !!form.brokerPassword
+ (!!form.id || !!form.brokerPassword) // only require a password when a subscription is being created, not edited.
247
248
const checkCertificateSelected = (form: Subscription): boolean =>
249
form.authType === BrokerAuthTypes.Certificate &&
0 commit comments