basalt / auth/src / canonicalEmail
Function: canonicalEmail()
> canonicalEmail(email): string
Defined in: auth/src/auth.ts:199
Canonical form of an email identity: trimmed and lowercased. Every lookup, create and throttle key goes through it, so Bob@acme.test and bob@acme.test are one account.
Parameters
email
string
Returns
string