Skip to content

Commit

Permalink
Update troubleshooting page (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowOnPaper committed May 15, 2024
1 parent 6007fe0 commit 837ffc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/guides/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ declare module "lucia" {
}
```

**Also check that you're passing `typeof lucia` and not `typeof Lucia`** (notice the capitalization - `lucia` is an instance of class `Lucia`).

## Session cookies are not set in `localhost`

By default, session cookies have a `Secure` flag, which requires HTTPS. You can disable it for development with the `sessionCookie.attributes.secure` configuration.
Expand Down

0 comments on commit 837ffc3

Please sign in to comment.