mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Final changes to config sub-system (#8600)
- Introduces changes such as certain types of errors that can be ignored or which need to go into safe mode. - Update help text as per the review
This commit is contained in:
committed by
kannappanr
parent
794eb54da8
commit
c9940d8c3f
@@ -654,9 +654,9 @@ func (sys *IAMSys) SetUserStatus(accessKey string, status madmin.AccountStatus)
|
||||
SecretKey: cred.SecretKey,
|
||||
Status: func() string {
|
||||
if status == madmin.AccountEnabled {
|
||||
return config.StateOn
|
||||
return config.EnableOn
|
||||
}
|
||||
return config.StateOff
|
||||
return config.EnableOff
|
||||
}(),
|
||||
})
|
||||
if err := sys.store.saveUserIdentity(accessKey, false, uinfo); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user