From 059401aeab675beba0f435d758277c4b6ec03527 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Thu, 19 Oct 2023 10:38:46 +0200 Subject: [PATCH] fix: system users not being set to approved on creation --- packages/backend/src/core/CreateSystemUserService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/core/CreateSystemUserService.ts b/packages/backend/src/core/CreateSystemUserService.ts index f1ebb4f60a..58853c8e23 100644 --- a/packages/backend/src/core/CreateSystemUserService.ts +++ b/packages/backend/src/core/CreateSystemUserService.ts @@ -61,6 +61,7 @@ export class CreateSystemUserService { isRoot: false, isLocked: true, isExplorable: false, + approved: true, isBot: true, }).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0]));