Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php
public function updateAction(User $user)
    {
        $this->userService->updateUser($user);
        $this->addFlashMessage('Your user has been updated.', 'User updated', Message::SEVERITY_OK);
        $this->redirect('edit');
    }
public function updateAction(User $user)
    {
        $this->userService->updateUser($user);
        $this->addFlashMessage('Your user has been updated.', 'User updated', Message::SEVERITY_OK);
        $this->redirect('edit');
    }
public function updateAction ( User $ user ) { $ this -> userService -> updateUser ( $ user ) ; $ this -> addFlashMessage ( 'Your user has been updated.' , 'User updated' , Message :: SEVERITY_OK ) ; $ this -> redirect ( 'edit' ) ; }
Update the current user

@param User $user The user to update, including updated data already (name, email address etc)
@return void
Update the current user