Skip to content

Implement Verify Email

Compare
Choose a tag to compare
@joselfonseca joselfonseca released this 15 Jan 02:09
· 191 commits to master since this release
72604a1

Breaking change
The schema for registration now has a tokens object for when email verification is not needed.

type RegisterResponse {
    tokens: AuthPayload
    status: RegisterStatuses!
}

enum RegisterStatuses {
    MUST_VERIFY_EMAIL
    SUCCESS
}

The tokens are generated if the email verification is not needed, if it is needed the tokens are not generated and the status will be MUST_VERIFY_EMAIL

  • Implemented email verify