Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Miasmus1 authored and psibean committed Jul 26, 2023
1 parent 6a57827 commit a9c32c2
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 @@ -124,7 +124,7 @@ const myProtectedRoute = (req, res) =>
<p>Instead of importing and using <code>generateToken</code>, you can also use <code>req.csrfToken</code> any time after the <code>doubleCsrfProtection</code> middleware has executed on your incoming request.</p>

```js
requqest.csrfToken(); // same as generateToken(res, req);
request.csrfToken(); // same as generateToken(res, req);
```

<p>
Expand Down

0 comments on commit a9c32c2

Please sign in to comment.