misc: added message for bypass

This commit is contained in:
Sheen Capadngan
2024-11-18 17:29:01 +08:00
parent 3f6a0c77f1
commit 089a7e880b

View File

@@ -425,7 +425,8 @@ export const oidcConfigServiceFactory = ({
const isSmtpConnected = await smtpService.verify();
if (!isSmtpConnected) {
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."
});
}
}