mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: sysadmin should be a system account
This commit is contained in:
@@ -202,7 +202,7 @@ func (manager *SUserManager) initSysUser() error {
|
||||
usr.Name = api.SystemAdminUser
|
||||
usr.DomainId = api.DEFAULT_DOMAIN_ID
|
||||
usr.Enabled = tristate.True
|
||||
usr.IsSystemAccount = tristate.False
|
||||
usr.IsSystemAccount = tristate.True
|
||||
usr.AllowWebConsole = tristate.False
|
||||
usr.EnableMfa = tristate.False
|
||||
usr.Description = "Boostrap system default admin user"
|
||||
|
||||
Reference in New Issue
Block a user