dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 93bd561ff9 - Show all commits
+2 -2
View File
@@ -18,13 +18,13 @@ try {
$_SESSION = [];
session_destroy();
header("Location: index.php");
header("Location: ../../index.php");
exit();
} catch (Exception $e) {
$_SESSION["message"] = "internal_error";
header("Location: index.php?pfad=profile");
header("Location: ../../index.php?pfad=profile");
exit();
}
+1 -1
View File
@@ -13,7 +13,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$_SESSION = [];
session_destroy();
header("Location: index.php");
header("Location: ../../index.php");
exit();
}
+1 -1
View File
@@ -2,5 +2,5 @@
$_SESSION = [];
session_destroy();
header("Location: index.php");
header("Location: ../../index.php");
exit();