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

View File

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

View File

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