Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update ttl field label on ssh template modal

Tuan Dang20a9fc113cc5
diff --git a/frontend/src/views/Org/SshCaPage/components/SshCertificateTemplateModal.tsx b/frontend/src/views/Org/SshCaPage/components/SshCertificateTemplateModal.tsx
index 779ee65c2d..1090b4b43d 100644
--- a/frontend/src/views/Org/SshCaPage/components/SshCertificateTemplateModal.tsx
+++ b/frontend/src/views/Org/SshCaPage/components/SshCertificateTemplateModal.tsx
@@ -12,14 +12,16 @@ import {
ModalContent,
Select,
SelectItem,
- Switch} from "@app/components/v2";
+ Switch
+} from "@app/components/v2";
import { useOrganization } from "@app/context";
import {
useCreateSshCertTemplate,
useGetSshCaById,
useGetSshCertTemplate,
useListOrgSshCas,
- useUpdateSshCertTemplate} from "@app/hooks/api";
+ useUpdateSshCertTemplate
+} from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
const schema = z.object({
@@ -248,7 +250,7 @@ export const SshCertificateTemplateModal = ({ popUp, handlePopUpToggle, sshCaId
name="ttl"
render={({ field, fieldState: { error } }) => (
<FormControl
- label="TTL"
+ label="Default TTL"
isError={Boolean(error)}
errorText={error?.message}
isRequired