Skip to content

Commit

Permalink
refactor(gotrue): add email otptype (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Jul 5, 2023
1 parent 5b3308a commit b5fe3d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/gotrue/lib/src/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ extension GenerateLinkTypeExtended on GenerateLinkType {
enum OtpType {
sms,
phoneChange,
@Deprecated('Use OtpType.email instead')
signup,
invite,
@Deprecated('Use OtpType.email instead')
magiclink,
recovery,
emailChange
emailChange,
email
}

///Determines which sessions should be logged out.
Expand Down

0 comments on commit b5fe3d3

Please sign in to comment.