Skip to content

Commit

Permalink
Merge pull request #451 from supabase-community/fix-otp
Browse files Browse the repository at this point in the history
Add missing OTP type
  • Loading branch information
jan-tennert authored Feb 4, 2024
2 parents b176910 + 5704e17 commit 7521222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ sealed interface OtpType {
* Email OTP types
*/
enum class Email(override val type: String): OtpType {
MAGIC_LINK("magiclink"),
SIGNUP("signup"),
@Deprecated("Use OtpType.Email.EMAIL instead", ReplaceWith("OtpType.Email.EMAIL")) MAGIC_LINK("magiclink"),
@Deprecated("Use OtpType.Email.EMAIL instead", ReplaceWith("OtpType.Email.EMAIL")) SIGNUP("signup"),
INVITE("invite"),
RECOVERY("recovery"),
EMAIL_CHANGE("email_change")
EMAIL_CHANGE("email_change"),
EMAIL("email")
}

/**
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ kotlin.experimental.tryK2=false
org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true

supabase-version = 2.1.1
supabase-version = 2.1.2

0 comments on commit 7521222

Please sign in to comment.