lucia-auth / examples

A collection of example projects built with Lucia
MIT License
171 stars 41 forks source link

In sveltekit example: login form pointing to wrong link in #14

Closed sheecegardezi closed 3 months ago

sheecegardezi commented 6 months ago

In the following code:

https://github.com/lucia-auth/examples/blob/a96c3c92a19fd64941255945f453c8705101f3c6/sveltekit/username-and-password/src/routes/login/%2Bpage.svelte#L10

needs to be:

<form method="post" use:enhance >

so that the form trigger the defauls action in defined in +page.server.ts

pilcrowOnPaper commented 3 months ago

Fixed with v3