We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9174aa2 commit 0dd7ed3Copy full SHA for 0dd7ed3
1 file changed
docs/session.md
@@ -12,7 +12,7 @@ The instance is stored in the global "Session" class.
12
Session::getCsrfInput()
13
```
14
15
-Between the "<form method="post">" and the "</form>" tag in the view one should add "`<?php Session::getCsrfInput();?>`".
+Between the "<form method="post">" and the "</form>" tag in the view one should add "<?php Session::getCsrfInput();?>".
16
This call will echo a hidden input field to the form that will prevent Cross-Site-Request-Forgery (CSRF) attacks.
17
18
Note: this is required when sending a form with the "post" method.
0 commit comments