Skip to content

Commit

Permalink
Fixes docs typo (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho authored Dec 27, 2023
1 parent 0038982 commit f317b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/basics/sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ You can use [`Lucia.readSessionCookie()`](/reference/main/Lucia/readSessionCooki

```ts
const sessionId = lucia.readSessionCookie("auth_session=abc");
const sessionId = lucia.rearerBearerToken("Bearer abc");
const sessionId = lucia.readBearerToken("Bearer abc");
```

See the [Validate session cookies](/guides/validate-session-cookies) and [Validate bearer tokens](/guides/validate-bearer-tokens) guide for a full example for validating session cookies.
Expand Down

0 comments on commit f317b2b

Please sign in to comment.