Skip to content

Commit 0dd7ed3

Browse files
committed
update
1 parent 9174aa2 commit 0dd7ed3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The instance is stored in the global "Session" class.
1212
Session::getCsrfInput()
1313
```
1414

15-
Between the "<form method="post">" and the "</form>" tag in the view one should add "`<?php Session::getCsrfInput();?>`".
15+
Between the "<form method="post">" and the "</form>" tag in the view one should add "<&#63;php Session::getCsrfInput();&#63;>".
1616
This call will echo a hidden input field to the form that will prevent Cross-Site-Request-Forgery (CSRF) attacks.
1717

1818
Note: this is required when sending a form with the "post" method.

0 commit comments

Comments
 (0)