Back to Wasp

Email Data

web/versioned_docs/version-0.14/auth/entities/_email-data.md

0.23.0416 B
Original Source
ts
const emailIdentity = user.identities.email

// Email address the user used to sign up, e.g. "[email protected]".
emailIdentity.id

// `true` if the user has verified their email address.
emailIdentity.isEmailVerified

// Datetime when the email verification email was sent.
emailIdentity.emailVerificationSentAt

// Datetime when the last password reset email was sent.
emailIdentity.passwordResetSentAt