Skip to content

Commit 9fe73bd

Browse files
authored
update doc for csrf cookie_name
1 parent 765cf0d commit 9fe73bd

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)