Skip to content

Commit

Permalink
Merge pull request #264 from supabase/km/add-phone-change-otp-type
Browse files Browse the repository at this point in the history
fix: add phone_change otp type
  • Loading branch information
kangmingtay committed Apr 1, 2022
2 parents 2f183f4 + 855d494 commit 5014161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types.ts
Expand Up @@ -199,7 +199,7 @@ export interface VerifyEmailOTPParams {
token: string
type: EmailOTPType
}
export type MobileOTPType = 'sms'
export type MobileOTPType = 'sms' | 'phone_change'
export type EmailOTPType = 'signup' | 'invite' | 'magiclink' | 'recovery' | 'email_change'

export interface OpenIDConnectCredentials {
Expand Down

0 comments on commit 5014161

Please sign in to comment.