mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 00:28:12 +00:00
misc: finalized user messages
This commit is contained in:
@@ -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}`
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user