Skip to content

Commit b3c3c6e

Browse files
authored
Merge pull request #143 from wlchn/patch-1
update doc for csrf cookie_name
2 parents 967845e + 9fe73bd commit b3c3c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/middleware/csrf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ CSRFConfig struct {
6464
ContextKey string `json:"context_key"`
6565

6666
// Name of the CSRF cookie. This cookie will store CSRF token.
67-
// Optional. Default value "csrf".
67+
// Optional. Default value "_csrf".
6868
CookieName string `json:"cookie_name"`
6969

7070
// Domain of the CSRF cookie.

0 commit comments

Comments
 (0)