mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add "name" and "description" params to service acc (#17172)
This commit is contained in:
committed by
GitHub
parent
ad2ab6eb3e
commit
9d96b18df0
@@ -224,6 +224,10 @@ func (iamOS *IAMObjectStore) loadUser(ctx context.Context, user string, userType
|
||||
u.Credentials.Claims = jwtClaims.Map()
|
||||
}
|
||||
|
||||
if u.Credentials.Description == "" {
|
||||
u.Credentials.Description = u.Credentials.Comment
|
||||
}
|
||||
|
||||
m[user] = u
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user