Skip to content
Snippets Groups Projects
Commit 03daf251 authored by David Siegfried's avatar David Siegfried
Browse files

use data-secure on form, closes #2866

Closes #2866

Merge request studip/studip!1951
parent 012e8abf
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
*/ */
use Studip\Button, Studip\LinkButton; use Studip\Button, Studip\LinkButton;
?> ?>
<form action="<?= $controller->store($rule) ?>" method="post" class="default"> <form action="<?= $controller->store($rule) ?>" method="post" class="default" data-secure>
<?= CSRFProtection::tokenTag() ?> <?= CSRFProtection::tokenTag() ?>
<fieldset> <fieldset>
<legend> <legend>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment