feat: able to set initial quota for new user (close #22)

This commit is contained in:
JustSong committed 2023-04-26 21:40:56 +08:00
1 parent 5a9fb6238b
commit 9c529f9674
6 files changed
+59 -1

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ func createRootAccountIfNeed() error {
Role: common.RoleRootUser,
Status: common.UserStatusEnabled,
DisplayName: "Root User",
AccessToken: common.GetUUID(),
}
DB.Create(&rootUser)
}