Skip to content

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

remove org mention when custom branding

x032205436d9f3104f3
diff --git a/frontend/src/pages/public/ViewSecretRequestByIDPage/ViewSecretRequestByIDPage.tsx b/frontend/src/pages/public/ViewSecretRequestByIDPage/ViewSecretRequestByIDPage.tsx
index 2c16dba149..7321430f09 100644
--- a/frontend/src/pages/public/ViewSecretRequestByIDPage/ViewSecretRequestByIDPage.tsx
+++ b/frontend/src/pages/public/ViewSecretRequestByIDPage/ViewSecretRequestByIDPage.tsx
@@ -219,8 +219,10 @@ export const ViewSecretRequestByIDPage = () => {
className="text-sm"
style={brandingTheme ? { color: brandingTheme.textMutedColor } : undefined}
>
- Secret requested by {secretRequest.request.requester.username} from the{" "}
- {secretRequest.request.requester.organizationName} organization
+ Secret requested by {secretRequest.request.requester.username}
+ {!hasCustomBranding && (
+ <> from the {secretRequest.request.requester.organizationName} organization</>
+ )}
</p>
)}
{!hasCustomBranding && (