Skip to content

Commit e52f050

Browse files
committed
Make tls enabled by default
Signed-off-by: Ravjot Brar <ravjot.brar@improving.com>
1 parent efff6e0 commit e52f050

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/frontend/src/components/ui/connection-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function ConnectionForm({ onClose }: ConnectionFormProps) {
1919
port: "6379",
2020
username: "",
2121
password: "",
22-
tls: false,
23-
verifyTlsCertificate: false,
22+
tls: true,
23+
verifyTlsCertificate: true,
2424
alias: "",
2525
})
2626
const [connectionId, setConnectionId] = useState<string | null>(null)

apps/frontend/src/components/ui/edit-form.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function EditForm({ onClose, connectionId }: EditFormProps) {
3535
port: "6379",
3636
username: "",
3737
password: "",
38-
tls: false,
39-
verifyTlsCertificate: false,
38+
tls: true,
39+
verifyTlsCertificate: true,
4040
alias: "",
4141
})
4242
const [passwordDirty, setPasswordDirty] = useState(false)
@@ -49,7 +49,7 @@ function EditForm({ onClose, connectionId }: EditFormProps) {
4949
username: currentConnection.username ?? "",
5050
password: currentConnection.password ?? "",
5151
alias: currentConnection.alias ?? "",
52-
tls: currentConnection.tls ?? false,
52+
tls: currentConnection.tls ?? true,
5353
verifyTlsCertificate: currentConnection.verifyTlsCertificate ?? false,
5454
//TODO: Add handling and UI for uploading cert
5555
caCertPath: currentConnection.caCertPath ?? "",
@@ -142,7 +142,7 @@ function EditForm({ onClose, connectionId }: EditFormProps) {
142142
onSubmit={handleSubmit}
143143
open
144144
showConnectionLimitWarning={shouldShowConnectionLimitWarning}
145-
showVerifyTlsCertificate={false}
145+
showVerifyTlsCertificate={true}
146146
submitButtonText="Apply Changes"
147147
title="Edit Connection"
148148
/>

0 commit comments

Comments
 (0)