root user
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user