src/Controllers/Auth/PasswordController.php
public function getReset(Request $request, $code)
    {
        // Is this a valid code?
        if (!$this->validatePasswordResetCode($code)) {
            // This route will not be accessed via ajax;
            // no need for a json response
            Session::flash('error', 'Invalid or expired password reset code; please request a new link.');
            return redirect()->route('dashboard');
        }

        return view('Centaur::auth.password')
            ->with('code', $code);
    }
public function getReset(Request $request, $code)
    {
        // Is this a valid code?
        if (!$this->validatePasswordResetCode($code)) {
            // This route will not be accessed via ajax;
            // no need for a json response
            Session::flash('error', 'Invalid or expired password reset code; please request a new link.');
            return redirect()->route('dashboard');
        }

        return view('Centaur::auth.password')
            ->with('code', $code);
    }
public function getReset ( Request $ request , $ code ) { // Is this a valid code? if ( ! $ this -> validatePasswordResetCode ( $ code ) ) { // This route will not be accessed via ajax; // no need for a json response Session :: flash ( 'error' , 'Invalid or expired password reset code; please request a new link.' ) ; return redirect ( ) -> route ( 'dashboard' ) ; } return view ( 'Centaur::auth.password' ) -> with ( 'code' , $ code ) ; }
Show the password reset form if the reset code is valid
@param  Request $request
@param  string  $code
@return View
Show the password reset form if the reset code is valid