diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index f8c1f36..89d4df2 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -181,6 +181,11 @@ class UserController implements ISecured $user->setPlainPassword($newPassword); } + $user->setFullName($this->request->post('full_name')); + $user->setNickname($this->request->post('nickname')); + $user->setPhone($this->request->post('phone')); + $user->setIdNumber($this->request->post('id_number')); + $this->pdm->saveToDb($user); $this->request->session()->delete('authenticated_with_google_until'); diff --git a/views/account/account.php b/views/account/account.php index 723094f..69b3f44 100644 --- a/views/account/account.php +++ b/views/account/account.php @@ -5,7 +5,7 @@ @section(main)