feat: 不自动生成系统访问令牌
This commit is contained in:
1 parent
a50d2e6836
commit
05f35fd024
3 files changed
+15
-4
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user