Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Jul 16, 2024
1 parent fa2c518 commit 747612c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The `doubleCsrf` method will provide the default utilities, you can configure th
You should only transmit your token to the frontend as part of a response body, **do not** include the token in
response headers or in a cookie, and **do not** transmit the token hash by any other means.

To create a route which generates a CSRF token and a cookie containing `´${token|tokenHash}´`:
To create a route which generates a CSRF token and a cookie containing `´${token}|${tokenHash}´`:

```js
const myCsrfExchangeRoute = (req, res) => {
Expand Down

0 comments on commit 747612c

Please sign in to comment.