/** * Redirect the user with a flash message if the captcha is required to be passed first * * @return bool|\Illuminate\HTTP\RedirectResponse */ protected function redirect() { if ($this->captcha->isRequired()) { return $this->helpers->redirectWithFlashMessage('error', 'Please verify that you are human first.'); } return false; }
/** * Reset Password * * Gives you the opportunity to reset you password easily. * * @return \Illuminate\View\View */ public function getResetPassword() { $this->helpers->setPageTitle('Reset Password'); $this->captcha->shareDataToViews(); return $this->view->make('larapress::pages.home.reset-password'); }