From 0ffe0886605fc6a6637f3df6cdf49e6002785f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 9 Apr 2023 02:52:17 +0200 Subject: [PATCH] fixup! make it possible to modify personal user data fields --- src/Controller/UserController.php | 1 - views/account/account.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 89d4df2..84c8c73 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -181,7 +181,6 @@ 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')); diff --git a/views/account/account.php b/views/account/account.php index ba5c6f7..b24e73d 100644 --- a/views/account/account.php +++ b/views/account/account.php @@ -5,7 +5,7 @@ @section(main)

Account

-
+

Please confirm your identity with your password or with Google to modify your account.

@@ -28,7 +28,7 @@
- +