Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Emit password recovery event from verifyOtp when otp type is rec…
…overy (#829) ## What kind of change does this PR introduce? Bug fix ## What is the current behavior? Currently when the user goes through the password recovery flow via OTP and calls the `verifyOtp()` method, the `SIGNED_IN` auth event is emitted instead of `PASSWORD_RECOVERY` event. ## What is the new behavior? When the user goes through the password recovery flow using email OTP, the `PASSWORD_RECOVERY` event is emitted. ## Additional context A Flutter SDK user reported this, and thought it probably makes sense to bring it to the JS client as well. supabase/supabase-flutter#774
- Loading branch information