Commit bd137d75 by archer

root user

parent 40200c7c
...@@ -73,7 +73,8 @@ async function initRootUser() { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment