Laravel - Authentication - The Password Confirmation Form

First, we will define a route to display a view that requests the user to confirm their password:

    
    Route::get('/confirm-password', function () {
        return view('auth.confirm-password');
    })->middleware('auth')->name('password.confirm');
	

As you might expect, the view that is returned by this route should have a form containing a password field. In addition, feel free to include text within the view that explains that the user is entering a protected area of the application and must confirm their password.