CSRF - erste Erichtigung
This commit is contained in:
+3
-1
@@ -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"; ?>
|
||||
|
||||
Reference in New Issue
Block a user