Skip to content

Commit

Permalink
fix: correct login form action
Browse files Browse the repository at this point in the history
  • Loading branch information
kizivat committed Aug 10, 2024
1 parent 6aaa20d commit 08fe88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<form
method="POST"
action="/?redirectTo={encodeURIComponent(
action="?redirectTo={encodeURIComponent(
`${$page.url.origin}/auth/callback?next=/settings/security`,
)}"
use:enhance
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(marketing)/(auth)/login/login-form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<form
method="POST"
action="/?redirectTo={encodeURIComponent(
action="?redirectTo={encodeURIComponent(
`${$page.url.origin}/auth/callback${$page.url.search}`,
)}"
use:enhance
Expand Down

0 comments on commit 08fe88e

Please sign in to comment.