Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
enhance message that is sent to users when sharing a secret
adilsonc281a7e66647
diff --git a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsxindex ef5884b713..9377ae48a9 100644--- a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx+++ b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx@@ -155,8 +155,13 @@ export const ShareSecretForm = ({if (processedEmails && processedEmails.length > 0) {setSecretLink("");++ const showAccountRequiredMessage = !allowExternalEmails && !isOrgAccess;+createNotification({- text: "If the provided email is associated with an Infisical account they will receive a link",+ text: showAccountRequiredMessage+ ? `If the provided ${processedEmails.length > 1 ? "emails are" : "email is"} associated with an Infisical account they will receive a link`+ : `Secret link has been sent to the provided ${processedEmails.length > 1 ? "emails" : "email"}`,type: "success"});} else {