From 3f6a0c77f1892ef4a3d27b5d609a8c27c1611fff Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Sat, 9 Nov 2024 01:51:11 +0800 Subject: [PATCH] misc: finalized user messages --- backend/src/ee/services/oidc/oidc-config-service.ts | 2 +- backend/src/server/boot-strap-check.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/ee/services/oidc/oidc-config-service.ts b/backend/src/ee/services/oidc/oidc-config-service.ts index 085cba898..4e0e7ba1e 100644 --- a/backend/src/ee/services/oidc/oidc-config-service.ts +++ b/backend/src/ee/services/oidc/oidc-config-service.ts @@ -361,7 +361,7 @@ export const oidcConfigServiceFactory = ({ }) .catch((err: Error) => { throw new OidcAuthError({ - message: `Error with SMTP configuration - contact the Infisical instance admin. ${err.message}` + message: `Error sending email confirmation code for user registration - contact the Infisical instance admin. ${err.message}` }); }); } diff --git a/backend/src/server/boot-strap-check.ts b/backend/src/server/boot-strap-check.ts index 696abb8e0..7db2a71e8 100644 --- a/backend/src/server/boot-strap-check.ts +++ b/backend/src/server/boot-strap-check.ts @@ -46,7 +46,7 @@ export const bootstrapCheck = async ({ db }: BootstrapOpt) => { await createTransport(smtpCfg) .verify() .then(async () => { - console.info("SMTP successfully connected"); + console.info(`SMTP - Verified connection to ${appCfg.SMTP_HOST}:${appCfg.SMTP_PORT}`); }) .catch((err: Error) => { console.error(`SMTP - Failed to connect to ${appCfg.SMTP_HOST}:${appCfg.SMTP_PORT} - ${err.message}`);