Skip to content

Commit

Permalink
fix: add email as a verification type (#642)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?
* Update the types to include `email` as a verification type
* Related gotrue PR: supabase/auth#885
  • Loading branch information
kangmingtay committed Apr 4, 2023
1 parent 759cdc1 commit aa78b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ export interface VerifyEmailOtpParams {
}

export type MobileOtpType = 'sms' | 'phone_change'
export type EmailOtpType = 'signup' | 'invite' | 'magiclink' | 'recovery' | 'email_change'
export type EmailOtpType = 'signup' | 'invite' | 'magiclink' | 'recovery' | 'email_change' | 'email'

export type SignInWithSSO = {
options?: {
Expand Down

0 comments on commit aa78b75

Please sign in to comment.