File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class SupaEmailAuth extends StatefulWidget {
186186 final void Function (AuthResponse response) onSignUpComplete;
187187
188188 /// Callback for sending the password reset email
189- final void Function ()? onPasswordResetEmailSent;
189+ final void Function (String email )? onPasswordResetEmailSent;
190190
191191 /// Callback for when the auth action threw an exception
192192 ///
@@ -636,7 +636,7 @@ class _SupaEmailAuthState extends State<SupaEmailAuth> {
636636 email,
637637 redirectTo: widget.resetPasswordRedirectTo ?? widget.redirectTo,
638638 );
639- widget.onPasswordResetEmailSent? .call ();
639+ widget.onPasswordResetEmailSent? .call (email );
640640 // FIX use_build_context_synchronously
641641 if (! mounted) return ;
642642 context.showSnackBar (widget.localization.passwordResetSent);
Original file line number Diff line number Diff line change 11name : supabase_auth_ui
22description : UI library to implement auth forms using Supabase and Flutter
3- version : 0.5.7
3+ version : 0.5.8
44homepage : https://supabase.com
55repository : ' https://github.com/supabase-community/flutter-auth-ui'
66
You can’t perform that action at this time.
0 commit comments