Abmelden-Button aus Profile entfernt
This commit is contained in:
+1
-8
@@ -88,14 +88,7 @@ $isEditMode = (isset($_GET["edit"]) && $_GET["edit"] === "1") || !empty($error);
|
||||
Account löschen
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<br><br>
|
||||
|
||||
<form action="php/controller/logout-controller.php" method="POST">
|
||||
<button type="submit" class="button">
|
||||
Abmelden
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
$_SESSION = [];
|
||||
session_destroy();
|
||||
|
||||
header("Location: ../../index.php");
|
||||
header("Location: index.php");
|
||||
exit();
|
||||
Reference in New Issue
Block a user