CSRF - erste Erichtigung

This commit is contained in:
2026-07-12 08:55:56 +02:00
parent 174fff6f31
commit 444f0a269b
6 changed files with 75 additions and 32 deletions
+3 -1
View File
@@ -2,6 +2,7 @@
include "functions.php";
app_require_csrf();
include "header.php";
include "headerline.php";
include "nav.php";
@@ -84,6 +85,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["aktion"]) && $_POST["a
<form method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
<?php echo app_csrf_field(); ?>
<label for="mitarbeiterID">Mitarbeiter auswählen:</label><br>
<select name="mitarbeiterID" id="mitarbeiterID">
<?php
@@ -119,4 +121,4 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["aktion"]) && $_POST["a
</div>
</div>
<?php include "footer.php"; ?>
<?php include "footer.php"; ?>