diff --git a/docs/pages/guides/troubleshooting.md b/docs/pages/guides/troubleshooting.md index 9d9c32ae2..7cab02e5e 100644 --- a/docs/pages/guides/troubleshooting.md +++ b/docs/pages/guides/troubleshooting.md @@ -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.