neu template für änderung von benutzerdaten (in progress)

This commit is contained in:
2025-07-03 12:53:34 +02:00
parent 942dc3808e
commit ae3a653de4
3 changed files with 15 additions and 3 deletions

View File

@@ -180,6 +180,15 @@ class UserController{
$this->view->setDoMethodName("showUserDeleteConfirmation");
$this->showUserDeleteConfirmation();
}
}
public function changeAccountData(){
$userId = $_SESSION["user_id"] ?? "";
if($userId){
$this->db->changeUserData($userId);
$this->setUserSession($user);
$this->view->setDoMethodName("showUserDeleteConfirmation");
$this->showUserDeleteConfirmation();
}
}
}