mirror of
https://github.com/bitwarden/server.git
synced 2026-06-01 01:55:55 -05:00
feat: add ChangeEmailCommand [PM-35830] - Add ChangeEmailCommand to encapsulate core email change logic - Add OrganizationDomainAllowEmailChangeQuery returning OrganizationDomainAllowEmailChangeDenialReason enum so callers can branch on the specific denial reason, if any - Surface tailored BadRequestException messages per denial reason via a switch expression that fails closed on unknown values - Push sync-only notification (no logout) - Add unit tests covering denial reasons, domain case invariance, and the null-customerId-with-gateway path