Stevemo\Cpanel\Controllers\PasswordController::postForgot PHP Метод

postForgot() публичный Метод

Find the user and send a email with the reset code
Автор: Steve Montambeault
public postForgot ( ) : Illuminate\Http\RedirectResponse | Illuminate\View\View
Результат Illuminate\Http\RedirectResponse | Illuminate\View\View
    public function postForgot()
    {
        try {
            $email = Input::get('email');
            $this->passForm->forgot($email);
            return View::make(Config::get('cpanel::views.password_send'))->with('email', $email);
        } catch (UserNotFoundException $e) {
            return Redirect::back()->with('password_error', $e->getMessage());
        }
    }