From 511cf5e45ae83fe184f1378cbf9ff2636ef0001f Mon Sep 17 00:00:00 2001 From: Kai Ritthaler Date: Thu, 15 May 2025 17:12:06 +0200 Subject: [PATCH] fixed jwt token issue in install script --- code/backend/scripts/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backend/scripts/install.ts b/code/backend/scripts/install.ts index db63139..39a7992 100644 --- a/code/backend/scripts/install.ts +++ b/code/backend/scripts/install.ts @@ -29,7 +29,7 @@ while (!postgresPassword) { } const jwtSecret: string = crypto.randomBytes(32).toString("hex"); // 64 Zeichen const env: string = `DATABASE_URL="postgresql://${postgresUser}:${postgresPassword}@localhost:5432/prisma" -JWT_SECRET="${jwtSecret}" +TOKEN_SECRET="${jwtSecret}" DB_USER="${postgresUser}" DB_PASSWORD="${postgresPassword}"`; try {