neu template für änderung von benutzerdaten (in progress)
This commit is contained in:
1 parent
942dc3808e
commit
ae3a653de4
3 files changed
+15
-3
No files matched your search
@@ -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