fix: admin users were created while the setup wizard wasn't finished

This commit is contained in:
Elias Schneider
2023-01-26 15:43:13 +01:00
parent 7e91038a24
commit ad92cfc852
8 changed files with 37 additions and 22 deletions

View File

@@ -4,10 +4,10 @@ import * as crypto from "crypto";
const configVariables: Prisma.ConfigCreateInput[] = [
{
order: 0,
key: "SETUP_FINISHED",
key: "SETUP_STATUS",
description: "Status of the setup wizard",
type: "boolean",
value: "false",
type: "string",
value: "STARTED", // STARTED, REGISTERED, FINISHED
category: "internal",
secret: false,
locked: true,