Clarify CSRF field raw rendering
This commit is contained in:
parent
7fabccd90a
commit
8eec28a639
@ -14,8 +14,8 @@ Use this in ordinary server-rendered POST forms when the submitted field name sh
|
||||
|
||||
:example
|
||||
?><form method="post">
|
||||
<?= csrf_field("uce-doc-session") ?>
|
||||
<?= csrf_field("uce-doc-session", "profile_form", "csrf_token") ?>
|
||||
<? print(csrf_field("uce-doc-session")); ?>
|
||||
<? print(csrf_field("uce-doc-session", "profile_form", "csrf_token")); ?>
|
||||
<button type="submit">Save</button>
|
||||
</form><?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user