fix: system users not being set to approved on creation

This commit is contained in:
Mar0xy 2023-10-19 10:38:46 +02:00 committed by kakkokari-gtyih
parent d71e823690
commit 576e13879f
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ export class CreateSystemUserService {
isRoot: false,
isLocked: true,
isExplorable: false,
approved: true,
isBot: true,
}).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0]));