handle multiple domains in email notifications

This commit is contained in:
Rachid Mrad 2025-01-08 18:26:56 -05:00
parent 3d237ba0f5
commit b048ff96de
No known key found for this signature in database
6 changed files with 119 additions and 67 deletions

View file

@ -1480,8 +1480,9 @@ class DomainInvitationAdmin(ListHeaderAdmin):
send_domain_invitation_email(
email=requested_email,
requestor=requestor,
domain=domain,
domains=domain,
is_member_of_different_org=member_of_a_different_org,
requested_user=requested_user
)
if requested_user is not None:
# Domain Invitation creation for an existing User