supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
478 stars 120 forks source link

[Fix] pass the missing redirectTo field to ForgottenPassword component #197

Closed tonyz0x0 closed 11 months ago

tonyz0x0 commented 12 months ago

What kind of change does this PR introduce?

Bug fix: pass the missing redirectTo field to ForgottenPassword component.

What is the current behavior?

The redirectTo field doesn't take effect when the Auth view is FORGOTTEN_PASSWORD. This makes the reset password email link doesn't have redirectTo param set as expected.

What is the new behavior?

The reset password email link should have the expected redirectTo field set.

Additional context

N/A

hellno commented 11 months ago

@silentworks @MildTomato can we get this fix merged? :)