Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

fix: signedIn event will not fire for passwordRecovery event #136

Merged
merged 2 commits into from Apr 7, 2023

Conversation

dshukertjr
Copy link
Member

What kind of change does this PR introduce?

Currently, signedIn event fires for every passwordRecovery event, which is not so intuitive. This PR prevents from signedIn event from firing for a passwordRecovery event.

Copied over from this js PR https://github.com/supabase/gotrue-js/pull/629/files

@Vinzent03
Copy link
Contributor

The Session recovery succedes after retries test runs infinitely. The expect is run and the test itself finishes, but the vscode test tab shows an infinity running tearDownAll test. That's strange, because the last commit didn't have this issue. Maybe a dependency?

@dshukertjr
Copy link
Member Author

Interesting. Just stepped out for a bit, but will take a look later. Thanks for the heads up!

@dshukertjr
Copy link
Member Author

Oh, so the tests are now passing huh? Thanks for re-running them @Vinzent03 !

@dshukertjr dshukertjr merged commit 4909d87 into main Apr 7, 2023
4 checks passed
@dshukertjr dshukertjr deleted the fix/password-recovery branch April 7, 2023 09:20
@Vinzent03
Copy link
Contributor

@dshukertjr No, I pushed a fix to this pr.

@dshukertjr
Copy link
Member Author

Ah, missed it! Thanks for that!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants