root user
This commit is contained in:
parent
40200c7c71
commit
bd137d7595
@ -73,7 +73,8 @@ async function initRootUser() {
|
|||||||
await User.findOneAndUpdate(
|
await User.findOneAndUpdate(
|
||||||
{ username: 'root' },
|
{ username: 'root' },
|
||||||
{
|
{
|
||||||
password: createHashPassword(psw)
|
password: createHashPassword(psw),
|
||||||
|
balance: 999999 * PRICE_SCALE
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user