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
improve errors
x032205b0175ce0cd96
diff --git a/backend/src/services/secret-sharing/secret-sharing-service.ts b/backend/src/services/secret-sharing/secret-sharing-service.tsindex f53de1b72a..a4aaa3638d 100644--- a/backend/src/services/secret-sharing/secret-sharing-service.ts+++ b/backend/src/services/secret-sharing/secret-sharing-service.ts@@ -555,7 +555,7 @@ export const secretSharingServiceFactory = ({return {isPasswordProtected: false,secretOrgId: sharedSecret.orgId,- error: "Email not authorized to view secret"+ error: "You are not authorized to view this secret"};}@@ -567,7 +567,7 @@ export const secretSharingServiceFactory = ({return {isPasswordProtected: false,secretOrgId: sharedSecret.orgId,- error: "Secret lifetime has expired"+ error: "Unable to view secret: secret has expired"};}@@ -577,7 +577,7 @@ export const secretSharingServiceFactory = ({return {isPasswordProtected: false,secretOrgId: sharedSecret.orgId,- error: "Secret has expired by view count"+ error: "Unable to view secret: view limit reached"};}diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsxindex 284f50ebef..6d37e720b4 100644--- a/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx+++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx@@ -105,7 +105,7 @@ export const ViewSharedSecretByIDPage = () => {const isEmailUnauthorized =((error as AxiosError)?.response?.data as { message: string })?.message ===- "Email not authorized to view secret";+ "You are not authorized to view this secret";// Save branding config for persistence across password attemptsuseEffect(() => {