mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-12 09:24:15 -04:00
When saving an email branding it’s possible we might not enter the canonical domain for an organisation into the domain field. Because we’re going to use the canonical domain to look up the brandings this will cause a mismatch. Rather than validate this and show an error, let’s just save the correct thing instead. From the user’s perspective this means everything will just work (ie a user with a given email address will automatically get the right branding for their organisation).