Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Password Reset Flow in SupaEmailAuth #89

Merged
merged 3 commits into from
May 13, 2024
Merged

FIX Password Reset Flow in SupaEmailAuth #89

merged 3 commits into from
May 13, 2024

Conversation

henry2man
Copy link
Contributor

What kind of change does this PR introduce?

FIXES #88

What is the current behavior?

Password reset flow is incomplete in SupaEmailAuth

What is the new behavior?

Successful password reset flow

Additional context

N/A

@henry2man henry2man changed the title FIX https://github.com/supabase-community/flutter-auth-ui/issues/88 FIX Password Reset Flow in SupaEmailAuth Apr 18, 2024
@henry2man
Copy link
Contributor Author

Added mounted guards to avoid the usage of BuildContext's across async gaps

@henry2man
Copy link
Contributor Author

Yeah, second attempt! I was using an older flutter version that didn't trigger the new warnings. Now with 3.19.6 it's working without issues:

% fvm flutter --version
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (2 days ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1

% fvm flutter analyze --fatal-warnings --fatal-infos lib
Analyzing lib...                                                
No issues found! (ran in 0.7s)

@dshukertjr Why don't you use fvm?

@henry2man
Copy link
Contributor Author

Can anyone take a look here? Thanks ❤️

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. Thanks for the contribution here!

@dshukertjr dshukertjr merged commit d7538f4 into supabase-community:main May 13, 2024
1 check passed
@henry2man
Copy link
Contributor Author

@dshukertjr You're welcome. I still miss some features here (add more possibilities to SignUp flow, more UI tweaks, #32...) so probably I will make more PR in the near future.

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

Successfully merging this pull request may close these issues.

Incomplete "Forgot your password" feature
2 participants