fix: remove duplicate JWT_SECRET production check (BUG-S5)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-12 23:34:20 +00:00
co-authored by Claude Opus 4.6
parent 2e2a6f18cb
commit 5f732d139c
-3
View File
@@ -1,9 +1,6 @@
import { createHmac, randomBytes } from 'crypto'
import { logger } from '../lib/logger.js'
if (!process.env.JWT_SECRET && process.env.NODE_ENV === 'production') {
throw new Error('JWT_SECRET required in production')
}
if (!process.env.JWT_SECRET && process.env.NODE_ENV === 'production') {
throw new Error('JWT_SECRET required in production')
}