Closed andrasbacsai closed 2 years ago
Are you sure this is related to svelte-kit-cookie-session
?
The error seems to be caused by your passedHandle function: This line
Can you share a repo or a small reproduction i can look at because this information isn't really helpful, i've just updated the example which is working fine with v2.0.5.
Reverting to 2.0.2 fixed the issue.
Here is the codebase (tag v2.0.13) where I use your library: https://github.com/coollabsio/coolify/blob/v2.0.12/src/hooks.ts
It should be fixed in v2.1.0
, i've also added the parsed cookies into locals now, so you don't have to parse it again!
Thank you!
I know it's not released yet officially - at least based on the GitHub releases, but the update has a weird error, causing failed login attempts.