root user

This commit is contained in:
archer
2023-07-30 12:53:54 +08:00
parent 40200c7c71
commit bd137d7595

View File

@@ -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 {