From cf2d647aeaacd26716035672bfa029445f36da04 Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:17:48 +0100 Subject: [PATCH] CB-4591 do not require password if its saved (#2342) Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com> --- .../packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx b/webapp/packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx index f362430998..4e8ffb20af 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx +++ b/webapp/packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx @@ -138,7 +138,7 @@ export const SSH: TabContainerPanelComponent = observer(function SSH({ st state={handlerState} disabled={disabled || !enabled} readOnly={readonly} - required={!keyAuth && handlerState.savePassword} + required={!passwordSaved && !keyAuth && handlerState.savePassword} description={passwordSaved ? translate('ui_processing_saved') : undefined} tiny fill