M365_BUILDER: Support second level domains, fix domainGUID Generation (#3165)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Cameron 2024-10-24 03:11:16 +13:00 committed by GitHub
parent ee65e4610a
commit 635eb314d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1850,7 +1850,7 @@ function M365_BUILDER(name, value) {
);
}
value.domainGUID = name.replace('.', '-');
value.domainGUID = name.replace(/\./g, '-');
}
if (value.dkim && !value.initialDomain) {