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}`);