mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 03:23:09 +02:00
fix: system users not being set to approved on creation
This commit is contained in:
parent
7739278685
commit
059401aeab
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue