public function password(Request $request)
    {
        $user = $request->user();

        if ($user) {
            return view('user.password')
            ->with('user', $user);
        }

        return back()->withErrors(['Could not find user']);
    }
public function password(Request $request)
    {
        $user = $request->user();

        if ($user) {
            return view('user.password')
            ->with('user', $user);
        }

        return back()->withErrors(['Could not find user']);
    }
public function password ( Request $ request ) { $ user = $ request -> user ( ) ; if ( $ user ) { return view ( 'user.password' ) -> with ( 'user' , $ user ) ; } return back ( ) -> withErrors ( [ 'Could not find user' ] ) ; }
User wants to change their password

@return \Illuminate\Http\Response
User wants to change their password