Neos\Neos\Controller\Module\User\UserSettingsController::updateAction PHP Method

updateAction() public method

Update the current user
public updateAction ( User $user ) : void
$user Neos\Neos\Domain\Model\User The user to update, including updated data already (name, email address etc)
return void
    public function updateAction(User $user)
    {
        $this->userService->updateUser($user);
        $this->addFlashMessage('Your user has been updated.', 'User updated', Message::SEVERITY_OK);
        $this->redirect('edit');
    }