You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/lib/core/config/env.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ export const env = createEnv({
27
27
ALLOWED_LOGIN_EMAILS: z.string().optional(),// Comma-separated list of allowed email addresses for login
28
28
ALLOWED_LOGIN_DOMAINS: z.string().optional(),// Comma-separated list of allowed email domains for login
29
29
BLOCKED_SIGNUP_DOMAINS: z.string().optional(),// Comma-separated list of email domains blocked from signing up (e.g., "gmail.com,yahoo.com")
30
+
BLOCKED_EMAILS: z.string().optional(),// Comma-separated list of specific email addresses banned from the platform (signup, sign-in, executions)
30
31
SIGNUP_MX_VALIDATION_ENABLED: z.boolean().optional(),// Opt-in: validate the email's MX backend at signup (blocks no-MX domains and denylisted shared spam backends). Off by default; enable on hosted/abuse-targeted deployments.
31
32
BLOCKED_EMAIL_MX_HOSTS: z.string().optional(),// Comma-separated MX-host substrings blocked from signing up; matched against the domain's resolved MX backend to catch throwaway domains that share a mail backend. No defaults — operators supply their own list. Only used when SIGNUP_MX_VALIDATION_ENABLED is set.
32
33
TRUSTED_ORIGINS: z.string().optional(),// Comma-separated additional origins to trust for auth (e.g., "https://app.example.com,https://www.example.com"). Merged into Better Auth trustedOrigins.
0 commit comments