misc: finalized user messages

This commit is contained in:
Sheen Capadngan
2024-11-09 01:51:11 +08:00
parent 9e4b66e215
commit 3f6a0c77f1
2 changed files with 2 additions and 2 deletions
@@ -361,7 +361,7 @@ export const oidcConfigServiceFactory = ({
}) })
.catch((err: Error) => { .catch((err: Error) => {
throw new OidcAuthError({ 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}`
}); });
}); });
} }
+1 -1
View File
@@ -46,7 +46,7 @@ export const bootstrapCheck = async ({ db }: BootstrapOpt) => {
await createTransport(smtpCfg) await createTransport(smtpCfg)
.verify() .verify()
.then(async () => { .then(async () => {
console.info("SMTP successfully connected"); console.info(`SMTP - Verified connection to ${appCfg.SMTP_HOST}:${appCfg.SMTP_PORT}`);
}) })
.catch((err: Error) => { .catch((err: Error) => {
console.error(`SMTP - Failed to connect to ${appCfg.SMTP_HOST}:${appCfg.SMTP_PORT} - ${err.message}`); console.error(`SMTP - Failed to connect to ${appCfg.SMTP_HOST}:${appCfg.SMTP_PORT} - ${err.message}`);