mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 22:28:15 +00:00
misc: added message for bypass
This commit is contained in:
@@ -425,7 +425,8 @@ export const oidcConfigServiceFactory = ({
|
|||||||
const isSmtpConnected = await smtpService.verify();
|
const isSmtpConnected = await smtpService.verify();
|
||||||
if (!isSmtpConnected) {
|
if (!isSmtpConnected) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message: "Cannot enable OIDC when there are issues with the instance's SMTP configuration"
|
message:
|
||||||
|
"Cannot enable OIDC when there are issues with the instance's SMTP configuration. Bypass this by turning on trust for OIDC emails in the server admin console."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user