From eebde3ad12614da0a6ea7d4ebb59bcda47512ecb Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Thu, 9 Feb 2023 22:27:30 -0800 Subject: [PATCH] Updated env variables and emails --- backend/src/templates/emailVerification.handlebars | 3 +-- backend/src/templates/organizationInvitation.handlebars | 3 +-- backend/src/templates/passwordReset.handlebars | 1 - backend/src/templates/workspaceInvitation.handlebars | 1 - frontend/src/components/utilities/config/index.ts | 2 +- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/backend/src/templates/emailVerification.handlebars b/backend/src/templates/emailVerification.handlebars index f1fb56af7b..e6e5a925ac 100644 --- a/backend/src/templates/emailVerification.handlebars +++ b/backend/src/templates/emailVerification.handlebars @@ -6,10 +6,9 @@ Email Verification -

Infisical

Confirm your email address

Your confirmation code is below — enter it in the browser window where you've started signing up for Infisical.

-

{{code}}

+

{{code}}

Questions about setting up Infisical? Email us at support@infisical.com

\ No newline at end of file diff --git a/backend/src/templates/organizationInvitation.handlebars b/backend/src/templates/organizationInvitation.handlebars index c8d0a91163..f76c42ba56 100644 --- a/backend/src/templates/organizationInvitation.handlebars +++ b/backend/src/templates/organizationInvitation.handlebars @@ -7,8 +7,7 @@ Organization Invitation -

Infisical

-

Join your team on Infisical

+

Join your organization on Infisical

{{inviterFirstName}}({{inviterEmail}}) has invited you to their Infisical organization — {{organizationName}}

Join now

What is Infisical?

diff --git a/backend/src/templates/passwordReset.handlebars b/backend/src/templates/passwordReset.handlebars index 1e629f6644..3b136e859e 100644 --- a/backend/src/templates/passwordReset.handlebars +++ b/backend/src/templates/passwordReset.handlebars @@ -6,7 +6,6 @@ Account Recovery -

Infisical

Reset your password

Someone requested a password reset.

Reset password diff --git a/backend/src/templates/workspaceInvitation.handlebars b/backend/src/templates/workspaceInvitation.handlebars index 501d72c8d9..e899d86e64 100644 --- a/backend/src/templates/workspaceInvitation.handlebars +++ b/backend/src/templates/workspaceInvitation.handlebars @@ -6,7 +6,6 @@ Project Invitation -

Infisical

Join your team on Infisical

{{inviterFirstName}}({{inviterEmail}}) has invited you to their Infisical project — {{workspaceName}}

Join now diff --git a/frontend/src/components/utilities/config/index.ts b/frontend/src/components/utilities/config/index.ts index 7ecfb9d4d4..875576666a 100644 --- a/frontend/src/components/utilities/config/index.ts +++ b/frontend/src/components/utilities/config/index.ts @@ -4,7 +4,7 @@ const POSTHOG_HOST = process.env.NEXT_PUBLIC_POSTHOG_HOST! || "https://app.posthog.com"; const STRIPE_PRODUCT_PRO = process.env.NEXT_PUBLIC_STRIPE_PRODUCT_PRO!; const STRIPE_PRODUCT_STARTER = process.env.NEXT_PUBLIC_STRIPE_PRODUCT_STARTER!; -const {SITE_URL} = process.env +const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL!; export { ENV,