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

This commit is contained in:
1808837298@qq.com
2024-09-24 19:44:30 +08:00
parent a50d2e6836
commit 05f35fd024
3 changed files with 15 additions and 4 deletions
+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)