Login possible fix and something else I can't remember

This commit is contained in:
2026-06-26 19:39:45 +02:00
parent 46a3216386
commit 1b5f244f28
6 changed files with 54 additions and 33 deletions
+6
View File
@@ -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: {