Add missing acme stuff

This commit is contained in:
Fang-Pen Lin
2025-11-04 13:16:31 -08:00
parent c38985a533
commit dd30028c5d

View File

@@ -438,12 +438,16 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }
disableBootstrapCaValidation: false, disableBootstrapCaValidation: false,
passphrase: "" passphrase: ""
}); });
} else { } else if (value === "api") {
setValue("estConfig", undefined); setValue("estConfig", undefined);
setValue("apiConfig", { setValue("apiConfig", {
autoRenew: false, autoRenew: false,
renewBeforeDays: 30 renewBeforeDays: 30
}); });
} else if (value === "acme") {
setValue("apiConfig", undefined);
setValue("estConfig", undefined);
setValue("acmeConfig", {});
} }
onChange(value); onChange(value);
}} }}