Skip to content

Commit

Permalink
misc: added message for bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Nov 18, 2024
1 parent 3f6a0c7 commit 089a7e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/ee/services/oidc/oidc-config-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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."
});
}
}
Expand Down

0 comments on commit 089a7e8

Please sign in to comment.