mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
root user
This commit is contained in:
@@ -73,7 +73,8 @@ async function initRootUser() {
|
||||
await User.findOneAndUpdate(
|
||||
{ username: 'root' },
|
||||
{
|
||||
password: createHashPassword(psw)
|
||||
password: createHashPassword(psw),
|
||||
balance: 999999 * PRICE_SCALE
|
||||
}
|
||||
);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user