neu template für änderung von benutzerdaten (in progress)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user