Skip to content

Commit 004f229

Browse files
authored
Fixing example code
1 parent 77e2e6d commit 004f229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tokens_in_cookies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Then extract the CSRF token from the cookie and pass it to the server via a hidd
9797
9898
<form id="my_form" method="POST">
9999
...
100-
<input id="csrf_input" type="hidden">
100+
<input id="csrf_input" name="csrf_token" type="hidden">
101101
<button>Submit</button>
102102
</form>
103103

0 commit comments

Comments
 (0)