public function resetPassword(Request $request)
    {
        $event = new AccessControlEvent($request);
        $this->password()->resetPasswordConfirm($request->get('token'), $request->getClientIp(), $event);

        return $this->redirectToRoute('login', ['action' => 'login']);
    }
public function resetPassword(Request $request)
    {
        $event = new AccessControlEvent($request);
        $this->password()->resetPasswordConfirm($request->get('token'), $request->getClientIp(), $event);

        return $this->redirectToRoute('login', ['action' => 'login']);
    }
public function resetPassword ( Request $ request ) { $ event = new AccessControlEvent ( $ request ) ; $ this -> password ( ) -> resetPasswordConfirm ( $ request -> get ( 'token' ) , $ request -> getClientIp ( ) , $ event ) ; return $ this -> redirectToRoute ( 'login' , [ 'action' => 'login' ] ) ; }
Reset the password. This route is normally only reached when the user
clicks a "password reset" link in the email.

@param Request $request

@return \Symfony\Component\HttpFoundation\RedirectResponse
Reset the password . This route is normally only reached when the user clicks a password reset link in the email .