We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3454fa commit 36bd5faCopy full SHA for 36bd5fa
lib/src/components/supa_email_auth.dart
@@ -293,7 +293,10 @@ class _SupaEmailAuthState extends State<SupaEmailAuth> {
293
});
294
295
final email = _emailController.text.trim();
296
- await supabase.auth.resetPasswordForEmail(email);
+ await supabase.auth.resetPasswordForEmail(
297
+ email,
298
+ redirectTo: widget.redirectTo,
299
+ );
300
widget.onPasswordResetEmailSent?.call();
301
} on AuthException catch (error) {
302
widget.onError?.call(error);
0 commit comments