FOS\UserBundle\Controller\UserController::confirmedAction PHP Method

confirmedAction() public method

Tell the user his account is now confirmed
public confirmedAction ( )
    public function confirmedAction()
    {
        $user = $this->getUser();
        $this->setFlash('fos_user_user_confirmed', 'success');
        return $this->container->get('templating')->renderResponse('FOSUserBundle:User:confirmed.html.' . $this->getEngine(), array('user' => $user));
    }