code: public function confirmedAction()
      {
          $user = $this->getUser();
          if (!is_object($user) || !$user instanceof UserInterface) {
              throw $this->createAccessDeniedException('This user does not have access to this section.');
          }
          return $this->render("@MikyUser/Frontend/Registration/confirmed.html.twig", array(
              'user' => $user,
          ));
      }
docs: Tell the user his account is now confirmed.
  
  @return Response
  
  @throws AccessDeniedException