diff --git a/PHPCI/Controller/UserController.php b/PHPCI/Controller/UserController.php index 2a675e9d..c54ee3e8 100644 --- a/PHPCI/Controller/UserController.php +++ b/PHPCI/Controller/UserController.php @@ -64,7 +64,7 @@ class UserController extends Controller $email = $this->getParam('email', null); $password = $this->getParam('password', null); - $_SESSION['user'] = $this->userService->updateUser($name, $email, $password); + $_SESSION['user'] = $this->userService->updateUser($user, $name, $email, $password); } $form = new Form();