fix: system users not being set to approved on creation
This commit is contained in:
parent
7739278685
commit
059401aeab
|
@ -61,6 +61,7 @@ export class CreateSystemUserService {
|
||||||
isRoot: false,
|
isRoot: false,
|
||||||
isLocked: true,
|
isLocked: true,
|
||||||
isExplorable: false,
|
isExplorable: false,
|
||||||
|
approved: true,
|
||||||
isBot: true,
|
isBot: true,
|
||||||
}).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0]));
|
}).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0]));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue