Skip to content

Refactor unset of User secondary emails on email destroy

What does this MR do?

This is a partial refactoring that contributes to https://gitlab.com/groups/gitlab-org/-/epics/6564

Prior to removing some User methods related to unsetting user input, this removes 3 calls to those methods. This also introduces a list of attributes that we consider "secondary emails", which will be used in follow-up MRs to make "secondary emails" more consistent. The intent of this refactoring is to improve clarity of intent and reduce entanglement between logic that is unrelated.

Does this MR meet the acceptance criteria?

Conformity

Contributes to https://gitlab.com/groups/gitlab-org/-/epics/6564

Merge request reports

Loading