Update deleteAccount-controller.php

This commit is contained in:
NOrtmann1
2026-06-10 18:22:36 +02:00
parent b1fb3e5baa
commit 52fde19380
@@ -13,6 +13,8 @@ try {
if (isset($_SESSION["user_email"])) {
$dao->deleteUser($_SESSION["user_email"]);
} else {
throw new NotFoundException("missing_user_email");
}
$_SESSION = [];