Skip to content

Commit d6a8ffa

Browse files
committed
add post login redirects
1 parent fe69343 commit d6a8ffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/(auth)/login/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<SignedOut>
77
<div class="flex items-center justify-center py-10">
8-
<SignIn />
8+
<SignIn redirectUrl="/dashboard" />
99
</div>
1010
</SignedOut>
1111
<SignedIn>

src/routes/(auth)/signup/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<SignedOut>
77
<div class="flex items-center justify-center py-10">
8-
<SignUp />
8+
<SignUp redirectUrl="/dashboard" />
99
</div>
1010
</SignedOut>
1111
<SignedIn>

0 commit comments

Comments
 (0)