Skip to content

Commit 837ffc3

Browse files
Update troubleshooting page (#1570)
1 parent 6007fe0 commit 837ffc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/pages/guides/troubleshooting.md

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ declare module "lucia" {
2424
}
2525
```
2626

27+
**Also check that you're passing `typeof lucia` and not `typeof Lucia`** (notice the capitalization - `lucia` is an instance of class `Lucia`).
28+
2729
## Session cookies are not set in `localhost`
2830

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

0 commit comments

Comments
 (0)