From 33742a043d6549783984ae7e8a3c30f0fe3917de Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Fri, 3 Nov 2023 13:06:59 +0100 Subject: [PATCH] fix: jwt secret changes on application restart --- backend/prisma/seed/config.seed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/prisma/seed/config.seed.ts b/backend/prisma/seed/config.seed.ts index 80eeefaa7..bc74a5b68 100644 --- a/backend/prisma/seed/config.seed.ts +++ b/backend/prisma/seed/config.seed.ts @@ -5,7 +5,7 @@ const configVariables: ConfigVariables = { internal: { jwtSecret: { type: "string", - defaultValue: crypto.randomBytes(256).toString("base64"), + value: crypto.randomBytes(256).toString("base64"), locked: true, }, },