From b31ce66ef95747c6cbeb93bb3744ef9bcd6b8459 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Wed, 10 Jun 2026 18:10:48 +0200 Subject: [PATCH] Abmelden-Button aus Profile entfernt --- content/profile.php | 9 +-------- php/controller/logout-controller.php | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) 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