diff --git a/pkg/iam/organization_service.go b/pkg/iam/organization_service.go index 07df36fb9..f0cca4e9b 100644 --- a/pkg/iam/organization_service.go +++ b/pkg/iam/organization_service.go @@ -350,6 +350,7 @@ func (s *OrganizationService) RemoveUser( } now := time.Now() + if profile.State != coredata.ProfileStateInactive { profile.State = coredata.ProfileStateInactive profile.UpdatedAt = now