Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f4aefd2

Browse filesBrowse files
committed
Fix broken link
1 parent bf317e9 commit f4aefd2
Copy full SHA for f4aefd2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
213213
```
214214

215215
<h2 id="getCSRFToken"><code>getCSRFToken([polymorph]): Promise&lt;string&gt;</code></h2>
216-
This method generates a random string, stores it in the session and returns it. Use the CSRF token to prevent [cross site
217-
request forgery](https://owasp.org/www-community/attacks/csrf).
216+
This method generates a random string, stores it in the session and returns it. Use the CSRF token to prevent [cross site request forgery](https://owasp.org/www-community/attacks/csrf).
218217

219218
### Example usage in `getServerSideProps()`
220219
This generates a CSRF token that can be passed with any forms or requests to the API.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.