mirror of
https://git.coastit.co.za/caitlin/CRM_ENVR.git
synced 2026-07-10 03:05:43 +02:00
Login possible fix and something else I can't remember
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import type { NextConfig } from "next"
|
||||
import crypto from "crypto"
|
||||
|
||||
// Generate a random JWT secret on every dev server start to invalidate all prior sessions
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
process.env.JWT_SECRET = crypto.randomUUID()
|
||||
}
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
eslint: {
|
||||
|
||||
Reference in New Issue
Block a user