Ojs\UserBundle\Controller\SecurityController::unconfirmedAction PHP Method

unconfirmedAction() public method

Show unconfirmed user warning page
public unconfirmedAction ( ) : RedirectResponse | Response
return 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'));
    }