Elcodi\Store\UserBundle\Controller\PasswordController::sentAction PHP Method

sentAction() public method

Recover password sent action
public sentAction ( ) : Response
return Symfony\Component\HttpFoundation\Response Response
    public function sentAction()
    {
        /**
         * If user is already logged, go to redirect url
         */
        if ($this->isGranted('ROLE_CUSTOMER')) {
            return $this->redirectToRoute('store_homepage');
        }
        return $this->renderTemplate('Pages:user-password-sent.html.twig');
    }