diff --git a/content/profile.php b/content/profile.php index e762c0c..f5e1903 100644 --- a/content/profile.php +++ b/content/profile.php @@ -88,14 +88,7 @@ $isEditMode = (isset($_GET["edit"]) && $_GET["edit"] === "1") || !empty($error); Account löschen - -

- -
- -
+
diff --git a/php/controller/logout-controller.php b/php/controller/logout-controller.php index d88a634..49386ab 100644 --- a/php/controller/logout-controller.php +++ b/php/controller/logout-controller.php @@ -2,5 +2,5 @@ $_SESSION = []; session_destroy(); -header("Location: ../../index.php"); +header("Location: index.php"); exit(); \ No newline at end of file