chore: set initial quota for root user
This commit is contained in:
1 parent
8a7f597048
commit
08a628a7f8
1 file changed
+1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user