Commit 08a628a7 by JustSong

chore: set initial quota for root user

parent 8a7f5970
...@@ -26,6 +26,7 @@ func createRootAccountIfNeed() error { ...@@ -26,6 +26,7 @@ func createRootAccountIfNeed() error {
Status: common.UserStatusEnabled, Status: common.UserStatusEnabled,
DisplayName: "Root User", DisplayName: "Root User",
AccessToken: common.GetUUID(), AccessToken: common.GetUUID(),
Quota: 100000000,
} }
DB.Create(&rootUser) DB.Create(&rootUser)
} }
......
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