feat: 不自动生成系统访问令牌

This commit is contained in:
1808837298@qq.com committed 2024-09-25 16:31:25 +08:00
1 parent a50d2e6836
commit 05f35fd024
3 files changed
+15 -4

No files matched your search

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