MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getLowerDomainFromEmail

Function getLowerDomainFromEmail

apps/web/src/lib/utils.ts:223–225  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

221 const plusIndex = local.indexOf('+');
222 if (plusIndex !== -1) {
223 local = local.slice(0, plusIndex);
224 }
225
226 // Gmail and Googlemail are the same mailbox; normalize dots and domain
227 const isGmail = domain === 'gmail.com' || domain === 'googlemail.com';
228 if (isGmail) {

Callers 12

InviteMemberDialogFunction · 0.90
createSSOAccountInfoFunction · 0.90
signInFunction · 0.90
jwtFunction · 0.90
inviteUserToOrganizationFunction · 0.90
acceptOrganizationInviteFunction · 0.90
POSTFunction · 0.90
POSTFunction · 0.90
getUserDataFunction · 0.90
admin-router.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected