Skip to content

Commit

Permalink
docs: add extra space between sentences.
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
sixcolors and coderabbitai[bot] authored Mar 10, 2024
1 parent 68f1ee0 commit 7d420c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/middleware/csrf.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ app.Use(csrf.New(csrf.Config{

## Token Generation

CSRF tokens are generated on 'safe' requests and when the existing token has expired or hasn't been set yet. If `SingleUseToken` is `true`, a new token is generated after each use. Retrieve the CSRF token using `csrf.TokenFromContext(c)`.
CSRF tokens are generated on 'safe' requests and when the existing token has expired or hasn't been set yet. If `SingleUseToken` is `true`, a new token is generated after each use. Retrieve the CSRF token using `csrf.TokenFromContext(c)`.

## Security Considerations

Expand Down

0 comments on commit 7d420c7

Please sign in to comment.