Ojs\UserBundle\Controller\SecurityController::unconfirmedAction PHP 메소드

unconfirmedAction() 공개 메소드

Show unconfirmed user warning page
public unconfirmedAction ( ) : RedirectResponse | Response
리턴 Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response
    public function unconfirmedAction()
    {
        $user = $this->getUser();
        if (!$user) {
            return $this->redirect($this->generateUrl('login'));
        }
        return $this->redirect($this->generateUrl('myprofile'));
    }