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