neue BenutzeraccounSeite mit dem Button Ausloggen

This commit is contained in:
PBBFA23AHR committed 2025-06-26 12:48:13 +02:00
1 parent b038312ae3
commit 5fb1133617
7 files changed
+51 -10

No files matched your search

+6 -1
View File
@@ -130,7 +130,8 @@ class UserController{
public function logout(){
$this->clearUserSession();
echo "Erfolgreich ausgeloggt";
header("Location: index.php?controller=user&do=showUserLoginForm");
exit();
}
public function isUserLoggenIn(){
@@ -140,4 +141,8 @@ class UserController{
public function getCurrentUserId(){
return $_SESSION["user_id"] ?? null;
}
public function showUserAccountPage (){
}
}