diff --git a/internal/command/org_domain_model.go b/internal/command/org_domain_model.go index 42c29a723a..d2b4077b3c 100644 --- a/internal/command/org_domain_model.go +++ b/internal/command/org_domain_model.go @@ -78,6 +78,10 @@ func (wm *OrgDomainWriteModel) Reduce() error { wm.Primary = e.Domain == wm.Domain case *org.DomainRemovedEvent: wm.State = domain.OrgDomainStateRemoved + wm.Verified = false + wm.Primary = false + wm.ValidationType = domain.OrgDomainValidationTypeUnspecified + wm.ValidationCode = nil } } return nil