Skip to content

Commit da4efa6

Browse files
[Fix] pass the missing redirectTo field to ForgottenPassword component (supabase-community#197)
* fix: add the missing redirecTo field * Add changeset file --------- Co-authored-by: Andrew Smith <[email protected]>
1 parent 0b7976a commit da4efa6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@supabase/auth-ui-svelte': patch
3+
---
4+
5+
fix: pass the missing redirectTo field to ForgottenPassword component.

packages/svelte/src/lib/Auth/Auth.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
{/if}
114114
{/if}
115115
{#if view === VIEWS.FORGOTTEN_PASSWORD}
116-
<ForgottenPassword {i18n} {supabaseClient} bind:authView={view} {showLinks} {appearance} />
116+
<ForgottenPassword {i18n} {supabaseClient} bind:authView={view} {showLinks} {appearance} {redirectTo} />
117117
{/if}
118118
{#if view === VIEWS.MAGIC_LINK}
119119
<MagicLink {i18n} {supabaseClient} bind:authView={view} {appearance} {redirectTo} {showLinks} />

0 commit comments

Comments
 (0)